mysticcity / minigamesapi Goto Github PK
View Code? Open in Web Editor NEWThis project forked from instance01/minigamesapi
Rich MinigamesAPI supporting different types of Minigames
This project forked from instance01/minigamesapi
Rich MinigamesAPI supporting different types of Minigames
10:51:12 ERROR]: Error occurred while disabling CrackShot v0.98.5 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
at com.shampaggon.crackshot.CSDirector.onDisable(CSDirector.java:215) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:294) ~[spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:364) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.disablePlugins(CraftServer.java:341) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.MinecraftServer.stop(MinecraftServer.java:459) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:607) [spigot-1.10-R0.1-SNAPSHOT.jar:git-Spigot-c55900f-9af379f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Currently the minigames lib forces metrics update to report.mcstats.org.
One should be able to enable/disable by config
We tested snake inside a room. Sometimes the first sheeps hangs within some blocks and the other sheeps get confused. It is caused in the fact snake wants the first sheep to fall down...
Re-Implement skulls. See CommandHandler.setSkulls
Eleminate reflection for all access to nms classes within minigames lib
API: Add support to join a random (free) arena. Maybe we have a whole arena group on the same server and as long as a arena is running the API should have the players join a second arena.
Bungee: Choose a free arena across multiple Servers within the same bungee network.
Some minigames have bugs when playing lonesome. They cannot reset etc.
However they are not meant to be played without any opponents but it should be fixed.
i have this problem when i am in another world :
serveur: spigot 1.9.4
Minigameslib: 1.14.8
MGSkywars: 1.5.3
[Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to MGSkyWars v1.5.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1531) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.PacketPlayInUseEntity.a(SourceFile:68) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.PacketPlayInUseEntity.a(SourceFile:12) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72] at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] Caused by: java.lang.NullPointerException at com.comze_instancelabs.minigamesapi.ArenaListener.NoClickEntityInLobby(ArenaListener.java:371) ~[?:?] at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f] ... 15 more
Use UUID for players instead of the non unique player names.
Before I report this issue. I want to give some context about how my arena works.
I spawn players on land 1 block away from water. They then paddle their boats into the water. The reason I do this is because if I spawn them in or above water they sink into it.
I'm in my boat ready to throw a snowball, but every time I throw the snowball it hits me, not the thing I was throwing it at.
Limit the max uses of trade via config.
Increase the max uses over time.
Limit per team/ per player.
F.e. to only allow a potion be buyed once per minute.
Spigot 1.10 latest (yesterday) with a standard complement of plugins: WE/WG, MV, PEX, etc.
MinigamesLib and MGSnake dev build 20.
For testing, I configured for 1-4 players. I started the game. There were slimes and footprints, but no snake following behind me. I assume that there should be.
Minigames-API Bungee already supports for the arena being on a different server than the main lobby.
Maybe we should merge it into the main api.
There is one feature missing: after the arena stops the players cannot be back ported to the main lobby server because minigames api itself does not know anything about a main lobby on different servers.
Review updating through bukkit.org
Examples:
MinigamesLib-1.14.9-SNAPSHOT.jar when loaded displays:
version MinigamesLib
[15:54:32 INFO]: MinigamesLib version 1.14.8
https://www.spigotmc.org/resources/snake.23906/ displays:
Snake 1.3.5
but:
version MGSnake
[15:56:46 INFO]: MGSnake version 1.3.3
I (and others) use this information to automate version update notification. Please keep version numbers in sync. Very much appreciated.
After migrating Minigames-Bungee into Minigames-API the MOTD System was gone.
Readd this Feature. Make it more customizable, specially for multiple minigames.
NPE wile Classes:setClasses (321)
Another suggestion that will certainly improve MobEscape:
If you have a map with much sand (I do have a beach map XD) or gravel, there will be a problem after the game with regenerating the blocks: the priorities are the same, so sand gets generated 50:50 - before or after the block it's lying on... That means that either the sand falls down and then completely modifies the map where the sand previously seated, or that everything is OK. So there is a 50% chance that the map will be modified looking at each block! I'd recommend placing gravity-affected blocks lastly. Then there won't be any problems. To mention it, this problem did not exist in the 1.8 version.
Greetings!
ClassCastException $Proxy67 cannot be cast to EntityVillager (origin: CraftBukkit inventory/getHolder).
The special Bed Wars subcommands are not displayed in help
When a game start the timer is counting and then it starts to count negative and the game doesn't start!!!
Spigot 1.10 latest pull, with standard up-to-date plugins: WE/WG, MV, PEX, and now MG, pulls from github 1.14.9-20160620.02xxxx. In both FC and SC, the following when clicking on "Leave" sign (which does leave the arena):
[15:41:45 ERROR]: Could not pass event PlayerInteractEvent to MGSnake v1.3.3
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NullPointerException
at com.comze_instancelabs.minigamesapi.util.Util.updateSign(Util.java:426) ~[?:?]
at com.comze_instancelabs.minigamesapi.ArenaListener.onSignUse(ArenaListener.java:848) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.10.jar-2016-06-20-0007:git-Spigot-c55900f-9af379f]
I need some help with making the leaps on every kit stronger/weaker.
Minigames-API
BedWars
ColorMatch
DeathRun
OneInTheChamber
MobEscape
SeaBattle
Conquer
SkyWars
Merge the minigames party plugin into the main API
Snake seems not to work without essentials.
On a clean Server only having MinigamesLib and Snake installed the Server does not allow the movement. "Player moves too fast" and repeats porting the user back. The sheeps get confused.
My main lobby contain picture frames with items associated with the various games (for example, a minecart for FlyingCars). The following sequence causes some of the picture frames (and contents) to become invisible:
If I transport to a different world and back, the picture frames become visible. This behavior does not obtain if I simply /tp between the game lobby and the main lobby or for other (non-MG) games, so I think it is related to the MinigamesLib transport actions (but I do not understand why or how). Both MGFlyingCars and MGSnake exhibit this behavior.
Spigot 1.10 or 1.10.2, with the usual collection of up-to-date plugins: WE/WG, MV, PEX, etc. and Minigames build 29 (and since at least build 24, the first version I started testing).
A simple leave command played once a player is leaving.
Some games have trouble if players are leaving arena bounds (no walls etc.)
Remove Sysouts in all games and lib
statistics signs
I'd like to ask if it is possible adding a new feature to MobEscape. The mob should buckle around and seem angry (like on minplex.com).
Thanking you in advance,
YouGamePlayHD
My request for a feature is simple. To be able to make "blank" minigames. You would only have a lobby premade and then you could make minigame for example via command blocks. I want to make a command block based minigames on my server, but the lobbys are with command blocks just too complicated. As you can see:
If you could make that you would only have a lobby and than you could make game mechanics yourself, that would be great
Another config file entry: You should be able to control the percentage of falling blocks (when the mob touches them). If you have a really huge map with thousands of blocks everything starts lagging and if you don't have a good PC, Minecraft will crash or the game will be unplayably laggy.
The entry could be like this:
falling-blocks-rate = 50
That would mean that only 50% of the blocks fall - the rest just disappears. Minplex uses the same technique to make the game playable for all players - not only the ones owning a good PC.
Greetings,
YouGamePlayHD
Having a shop item in inventory or create shop npcs (similar to bedwars)
Jumper currently displays a score board as soon as a player is online.
Disable it if the player is outside any arena etc.
Although I have not played this myself, I get reports of players who can't leave the minigame.
On one occasion I checked the commands and permissions which seem to be fine. And had to teleport the player out of the game. Most of the time the player just quits the server.
This has happened both before and after trying to use the 1.10 snapshots from http://nexus.xworlds.eu/nexus/servi...nigames-All-1.14.9-20160619.021615-13-bin.zip
Here is the console log http://pastebin.com/e0gCjv1a for the 1.10 snapshots
Config in messages.yml: leave: ... '1': '&4&lLeave'
did not display bold, after neither /snake reload nor server reboot.
Would you consider naming the JAR files the same as the plugins' internal names and configuration directories:
MGFlyingCars :: MGFlyingCars-.jar instead of FlyingCars-.jar
MGSnake :: MGSnake-.jar instead of Snake-.jar
etc.
No just for consistency, but also they would alphabetize nicely in the plugins/ directory (and therefore in my plugin manager).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.