Giter Club home page Giter Club logo

minigamesapi's People

Contributors

confuser avatar darkool avatar instance01 avatar mepeisen avatar mysticcity avatar wysohn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minigamesapi's Issues

Review CrackShot Dependency

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]

Snake in a room arena (2 blocks)

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...

API add "loadbalancing" support

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.

Dying and mob spawns

  • Monsters should not enter arenas (there should be no need of worldguard zones).
  • Monsters should not spawn (there should be no need of worldguard zones).
  • Some games are in trouble if players die by monsters.

Single-player bugs

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.

MGskywars error in console

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

Seabattle: Hitting Yourself With Snowballs

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 max uses of shop/trade

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.

No snake

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.

API add support for bungee servers

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.

Version number internal <> external

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.

MOTD

After migrating Minigames-Bungee into Minigames-API the MOTD System was gone.
Readd this Feature. Make it more customizable, specially for multiple minigames.


  • Customize signs to display stats from foreign servers
  • Customize MOTD updates

MobEscape: Regen falling blocks lastly

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!

MGsnake coutdown problem

When a game start the timer is counting and then it starts to count negative and the game doesn't start!!!

Leave sign -> NullPointerException

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]

Existing Bugs/Feature requests

Snake without Essentials

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.

Main lobby picture frames invisible after /leave

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:

  • Use Join sign or /game join game to go to a game lobby
  • Use Leave sign or /leave to return to the main lobby

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).

Blank Minigames

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:

2016-06-30_20 34 03

2016-06-30_20 34 20

If you could make that you would only have a lobby and than you could make game mechanics yourself, that would be great

MobEscape - Customisation of destroyed blocks

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

GunGame feature

Having a shop item in inventory or create shop npcs (similar to bedwars)

Trade bugs

  • Disable the "give experience" on trades
  • Sometimes players are blocked from trading even if two different teams are trading (one teams blocks the other)

MingamesLib and SkyWars leave errors

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

Leave signs ignore formatting

Config in messages.yml: leave: ... '1': '&4&lLeave'
did not display bold, after neither /snake reload nor server reboot.

Plugin file names

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.