Giter Club home page Giter Club logo

survival-games's People

Contributors

adamrjonesay avatar blha303 avatar ciyoulater avatar dapriddle avatar derflash avatar herocc avatar jlleitschuh avatar necrodoom avatar pocketkid2 avatar remyk1 avatar skmedix avatar soer7022 avatar sshipway avatar steve4744 avatar thundergemios10 avatar ukcpirate avatar

Stargazers

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

survival-games's Issues

Bug - Permissions

sg.arena.join.2
sg.arena.join.*
sg.arena.vote
sg.arena.spectate
sg.lobby.join

I give these permissions but my players can't join. Please help me.

Permissions are not working

So my perms nodes are not working the only one that works is sg.* i don't know how to fix it and i try and negate the perm but it won't work

SG addwall not working

As I create an arena and get the selection on the signs, once I execute the /sg addwall X command it doesn't show anything nor does anything happen when I right click the sign. I'm on 1.10.2 btw if that helps.

PS. I can join with the commands though.

Missing Perms

I have given users all the perm they need, but they still can't use the sign wall or /sg join 1 to join the arena. I am actually using a version I compiled from the current available code, so I don't know if that's a strange result of that.

/Sg forcestart won't work! please answer asap!

I am trying to force start a game, so i first enter "/sg help staff"
there it sayt that to force start game i gotta use /sg forcestart.
BUT WHEN I DO, it says that the command doesnt exist. PLEASE HELP ASAP
Thank ya bois
btw
Great plugin
great job
10/10
i just need the force start to use :D

[BUG] Bandages work outside of games

Hey!

So I found this out by accident that I can right-click a paper when just minding my own business and still get healed 5 hears (and the paper get consumed) even though I'm nowhere near an SG arena, let alone in-game (I'm OP/Admin, so will have to see if this is the case for regular players as well)

So yeah - a fix would be nice - or at least would it be possible to add an option to toggle bandages off (as I have no use for them in my SG setup). Love the plugin - best rendition of the original I've seen thus far!

Downoad

Is there any download yet? Sorry if this was an inconvenient place to put this, but I didn't know where else to ask.

Permission and sign not working

I'm using 1.8 version and non-op player can't join... i added the permission node correctly but still non-op cant access. Btw when we use the sign, the sign will reset by it self to nothing so i have to use /sg addwall 1 everytime.

Commands cannot be run from the console

Certain commands should be able to be run from the console. For example, /hg start 1 20 to start the game, or hg disable and hg enable. This would allow easier control without having to be actually in the game. However currently all commands insist you run them when in-game, even if this should not be necessary as your status would be irrelevant.

The code needs to allow console access (player==null) for commands where it is irrelevant

Found some bugs

If Lava or water was set in an arena, it will not be rollbacked after the game. Then, the thunder is heard by all players in the world, and the message messages.game.playerwin in messages.yml can be red from all players in all worlds, even if they are in an active SG round or not. So, there is no messages.yml path to edit the "Joining Arena X". And the "You have a X second grace period" message too. The "Grace period has ended" message (messages.game.graceperiodend in messages.yml) is not loaded into the game. The default will be used.
Thanks for changing, I like your plugin!

Chests too OP

Players get diamond armor and weapons way too easily. Is there a way to configure chests so they don't give out so much diamond stuff? I have tried to configure the chest.yml file but it hasn't really made a difference to the chests. How do the levels work?

Wall not adding arenas

Hi, I made a new arena, it shows up in the /sg listarenas 1 as "2," but no sign is added to my lobbywall. Any ideas what I'm doing wrong? (spawnpoints were set, everything looks normal....)

Thanks!

Errors when leaving game and resetting spawns.

(Not sure if these should be in separate posts, first time using github)

I have tested this on a server with the latest spigot build, latest versions of worldedit and Survival Games (0.6.3.2) only and on Java 8.

First of all, great plugin I'm glad to see someone carried this on. The first bug is two errors when doing /sg leave, an IndexOutOfBoundsException and NullPointerException (see below).

{Player name} issued server command: /sg leave
[16:26:53] [Server thread/INFO]: [SurvivalGames] ???????????????????????
[16:26:53] [Server thread/WARN]: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[16:26:53] [Server thread/WARN]: at java.util.ArrayList.rangeCheck(Unknown Source)
[16:26:53] [Server thread/WARN]: at java.util.ArrayList.get(Unknown Source)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.Game.playerWin(Game.java:662)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.Game.killPlayer(Game.java:633)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.Game.removePlayer(Game.java:525)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.GameManager.removePlayer(GameManager.java:199)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.commands.Leave.onCommand(Leave.java:17)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.CommandHandler.onCommand(CommandHandler.java:155)
[16:26:53] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:26:53] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[16:26:53] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1296)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1156)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[16:26:53] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[16:26:53] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550)
[16:26:53] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[16:26:53] [Server thread/INFO]: [SurvivalGames] ID1
[16:26:53] [Server thread/INFO]: [SurvivalGames] false
[16:26:53] [Server thread/INFO]: [SurvivalGames] 0
[16:26:53] [Server thread/INFO]: [SurvivalGames] []
[16:26:53] [Server thread/INFO]: [SurvivalGames] {Insert my player name here, didn't fancy putting that}
[16:26:53] [Server thread/WARN]: java.lang.NullPointerException
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.Game.killPlayer(Game.java:646)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.Game.removePlayer(Game.java:525)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.GameManager.removePlayer(GameManager.java:199)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.commands.Leave.onCommand(Leave.java:17)
[16:26:53] [Server thread/WARN]: at org.mcsg.survivalgames.CommandHandler.onCommand(CommandHandler.java:155)
[16:26:53] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:26:53] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[16:26:53] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1296)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1156)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[16:26:53] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[16:26:53] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646)
[16:26:53] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550)
[16:26:53] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)

The second is an error when issuing the /sg resetspawns command without a number for the arena (i.e. just /sg resetspawns I realise this isn't how it's meant to be used :-P), this is an ArrayIndexOutOfBoundsException.

{Player name} issued server command: /sg resetspawns
[16:30:15] [Server thread/WARN]: java.lang.ArrayIndexOutOfBoundsException: 0
[16:30:15] [Server thread/WARN]: at org.mcsg.survivalgames.commands.ResetSpawns.onCommand(ResetSpawns.java:20)
[16:30:15] [Server thread/WARN]: at org.mcsg.survivalgames.CommandHandler.onCommand(CommandHandler.java:155)
[16:30:15] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:30:15] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[16:30:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1296)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1156)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[16:30:15] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[16:30:15] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646)
[16:30:15] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550)
[16:30:15] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)

Also a suggestion for the resetspawns command, could a message acknowledging it working be added please, I am but a simple creature that gets confused when I see nothing obvious happening.

Can't PvP

It's not a WorldGuard problem, already checked.

It's also not a server problem since I can PvP in other worlds.

Please help

Feature & Permission Issues

I have been working on setting up this plugin today and everything seems to be setup fine except the following. Keep in mind when "op" all arenas and commands work fine except the lobby wall

sg.arena.join.1 doesn't grant access to players to join the arena

When setting the lobby wall, nothing shows on the signs

Bandages do not work

The 'bandages' (right click while holding paper) do not work at all, due to an incorrect Material check in the event handler.

I have a fix for this coming in a pull req soon; just logging here to prevent duplication of work

chests.yaml should allow symbolic names

Currently, chest items need to be specified by their object ID. It would be better if it were to allow symbolic names.

Probably the place to do this is in ItemReader.read; if the first item is non-numeric then call matchMaterial()

        try {
            itemid = Integer.parseInt(split[0]);
        } 
        catch( Exception e ) {
            Material m = Material.matchMaterial(split[0].toLowerCase().trim());
            if( m == null ) {
                SurvivalGames.error("ItemReader: invalid id "+split[0]);
                return null;
            }
            itemid = m.getId();
        }
        try {
            if(split.length == 1){
                return new ItemStack(itemid);
            }else if(split.length == 2){
                return new ItemStack(itemid, Integer.parseInt(split[1]));
            }else if(split.length == 3){
                return new ItemStack(itemid, Integer.parseInt(split[1]), Short.parseShort(split[2]));
            }else{

Chest.yml Doesn't Accept New Names

I see from the config file, it explains that the format may be any of the following:

<itemid>,<max amount per slot>[,<DV>[,<enchantment>:<level> ...[,<name>]]]
diamond_sword,1
236,1
diamond_sword,1,0,sharpness:5 knockback:2,Excalibur
Lapis Lazuli
351,1,4

However, it appears that using diamond_sword or any other name, like gold_ore return this error:

[15:22:04 WARN]: [SurvivalGames] Task #497600 for SurvivalGames v0.6.6 generated an exception
java.lang.NumberFormatException: For input string: "Wooden Sword"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_131]
	at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_131]
	at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_131]
	at com.thundergemios10.survivalgames.util.ItemReader.read(ItemReader.java:83) ~[?:?]
	at com.thundergemios10.survivalgames.util.ChestRatioStorage.setup(ChestRatioStorage.java:41) ~[?:?]
	at com.thundergemios10.survivalgames.SurvivalGames$Startup.run(SurvivalGames.java:92) ~[?:?]
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:738) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Has this been implemented yet, or am I doing something wrong?

Custom Join Signs

Hello,
I Was Wondering If It Was Possible To Edit The Signs (Joining Arenas)

Thanks
MatrixMC Network Founder - Adunc19.

Can not PVP

Players can not be PVP
No damage at all
Can not delete the existing arena
This is my configuration

################################################

Survival Games

Developed by

## Original Author ##

Double0negative

## Current Author ##

ThunderGemios10

http://mc-sg.org

voidmc.com

################################################

#Do NOT touch this!
config-version: 3

#Enable debug messages
debug: false

#Enables the udpdate checker. This will enabled
#anyone with the perm sg.system.updatenotify to
#be notified when a new update is avalible
check-for-updates: true

#Set how many players are needed for the game
#to auto-start. Once the player limit is reached
#it will wait for x amount of seconds for
#additional players. Auto start vote means that
#x percent of players need to vote with /sg vote
#for the game to begin
auto-start-players: 12
auto-start-time: 10
auto-start-vote: 75

#If the player queue is enabled then if a player
#tries to join a game that is not joinable
#(ie ingame) the player will be added to a
#queue line to join the next time the game
#is open
enable-player-queue: true

#If set to true, commands not associated with
#the Survival Games will not be allowed to be run
#by players in-game.
disallow-commands: true
#If disallow-commands is set to true, you can use
#the cmdwhitelist section below to whitelist certain
#commands.
cmdwhitelist:

  • 'kit'

#Set how long the grace period for be after the start of
#the game in seconds.
grace-period: 1800

#Controls if chests should be restocked on the first
#night. If set to true this will also have the side
#effect of setting the world time to day at the start
#of the game. This is only temporary until per-arena time
#has been implemented.
restock-chest: true

Restock EVERY night?

restock-chest-repeat: false

Remove all items from chests when adding random content?

clear-chest: false

#Here you can control block placing and breaking.
block:
place:
whitelist:
- 1
- 2
- 3
- 4
- 5
- 6
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 20
- 21
- 22
- 23
- 24
- 25
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 35
- 37
- 38
- 39
- 40
- 41
- 42
- 44
- 45
- 47
- 48
- 50
- 51
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 75
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 91
- 92
- 93
- 94
- 96
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 116
- 123
- 124
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 138
- 139
- 140
- 141
- 142
- 143
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 157
- 158
- 161
- 162
- 163
- 164
- 165
- 167
- 170
- 171
- 172
- 173
- 174
- 175
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 207
- 208
- 218
- 325
- 326
- 327
- 354
break:
whitelist:
- 1
- 2
- 3
- 4
- 5
- 6
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 20
- 21
- 22
- 23
- 24
- 25
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 35
- 37
- 38
- 39
- 40
- 41
- 42
- 44
- 45
- 47
- 48
- 50
- 51
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 75
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 91
- 92
- 93
- 94
- 96
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 116
- 123
- 124
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 138
- 139
- 140
- 141
- 142
- 143
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 157
- 158
- 161
- 162
- 163
- 164
- 165
- 167
- 170
- 171
- 172
- 173
- 174
- 175
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 207
- 208
- 218
- 325
- 326
- 327
- 354

Which entities will be left in the map after rollback

entities:
keep:
- MinecartRideable
- MinecartFurnace
- MinecartCommandBlock
- MinecartSpawner
- MinecartHopper
- MinecartChest
- ArmorStand
- Painting
- ItemFrame

- EnderCrystal

- Boat

- FallingSand

- WitherSkull

- LeashKnot

#How many blocks to rollback per-tick
#The higher this settings the fast each
#arena will be reset but will cause more
#lag
rollback:
per-tick: 100

#Settings for when the game nears end. This runs
#when there are only x amount of players
#remaining. If place chest is enabled then
#when the player limit is reached, a chest
#will be placed inside the radius of every
#remain player containing random items for
#that player. If fire-lighting is enabled
#then a lighting strike will be fired at the
#location of each player every x seconds to
#notify the other players of their location
endgame:
players: 3
fire-lighting:
enabled: true
interval: 20

#If enabled, after x amount of time, each player
#remaing will be teleported to the center of the
#arena for a death match. If they have not been
#killed after killtime, the game will end.
deathmatch:
enabled: false
time: 30
killtime: 5

#If enabled, winner gets the specified reward

Items are defined as

itemnumber, amount, durabilty, enchantments, name

Example: diamond sword with 1 item, full durabilty, shaprness 4, knockback 2 and the name killer

276, 1, 0, sharpness: 4 knockback: 2, killer

reward:
enabled: true
contents:

  • 'amount:5000'

#Settings for connecting to and
#SQL server. These settings will
#be used for the online webstats
#Prefix is what all tables used for
#SurvivalGames will be
#prefixed with. This should stay the same
#for most cases.
sql:
host: 'localhost'
port: 3306
user: 'root'
pass: ''
database: 'survivalgames'
prefix: 'sg_'

###########################################################
####################### Stats ############################
###########################################################

#Settings for the webstats. If enabled, stats
#such as k/d record, wins, win streaks, kill
#streaks, etc. will be saved.

stats:
enabled: false
webserver:
enabled: false
port: 880
points:
kill: 10
win: 100
position: 7
killstreak:
base: 10
multiplier: 2
killstreak:
level1: '&e{player}&7 got a Double Kill!'
level2: '&e{player}&9 got a Multi Kill!'
level3: '&e{player}&5 got an Ultra Kill!'
level4: '&e{player}&4 got an Unbelievable Kill!'
level5: '&e{player}&a&kii&4&l Unbelievable+!&a&kii'

Player Selecting for Custom Signs

I realized that you could not make a player join NOT using sudo or giving them perm. I wanted to know if you can or if there is a player specification part of /sg join (arena) . If so, I could make custom signs.

Stats not showing up

I am trying to create a leader board with /sg setstatswall and it says sent back error

Chest refill problems

There seem to be some issues with the Chest Refill code (I'll try and search through the source for this later)

  • We keep getting chests filled with ALL the options from the level 5 chest, which is obviously unbalanced. We should be able to specify a random range of how many items are added to each chest each refill?
  • The Chests do not do an initial fill at the start of the game. It would be good to have an (optional?) refill at game start.
  • In the chest.cfg, there is no way to specify object DV or metadata. Thus it seems there is no way to put lapis in the chests (needed for enchanting of course)
  • It would be nice to be able to somehow tag chests as being more 'lucky' than others (eg, a hard to reach chest should be more likely to get tier 5 loot) but I'm not sure how you'd go about this. Maybe if the chest has a name '5' then multiply the random number by 5?

Otherwise, all working well, a nice simple mod to provide the needed functionality.

Error occurred while disabling SurvivalGames v0.6.3.2 (Is it up to date?)

[20:04:13] [Server thread/INFO]: [SurvivalGames] Disabling SurvivalGames v0.6.3.2
[20:04:13] [Server thread/ERROR]: Error occurred while disabling SurvivalGames v0.6.3.2 (Is it up to date?)
java.lang.NullPointerException
at org.mcsg.survivalgames.SettingsManager.saveSpawns(SettingsManager.java:231) ~[?:?]
at org.mcsg.survivalgames.SurvivalGames.onDisable(SurvivalGames.java:46) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) ~[Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:359) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader.disablePlugin(PerWorldPluginLoader.java:140) [PerWorldPlugins.jar:?]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.disablePlugins(CraftServer.java:335) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.stop(MinecraftServer.java:441) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:572) [Playboxone.jar:git-Spigot-c3c767f-33d5de3]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
[20:04:13] [Server thread/INFO]: [ArrowTeleport] Disabling ArrowTeleport v1.4
[20:04:13] [Server thread/INFO]: ArrowTeleport has been unloaded successfully!

arena permissions

Hi,
The permission nodes listed include "sg.arena.join.*" but the code is not checking node "sg.arena.join.*" when a player tries to join an arena. It currently only checks "sg.arena.join.#" where # is the arena number.

Optional initial chest fill

Have a boolean option in the config.yml to trigger an initial chest load at game start. This will prevent people from learning where good items are and always going there... and will allow maps where all chests are empty initially.

Join signs and arena names

what should i write on my signs so they transform into arena join signs ?

Also is there a way i can name my arenas ?

WE 6.x

WorldEdit/WorldGuard 6.x support coming soon?

Kits

What command is used to enable kits?

Drop items

Could you implement an option to clean the objects of the ground at the end of a game? Since the following happens to me on the server:

When a user dies, he releases objects on the ground, the problem comes when they re-enter that arena, collect the objects of the dead and are already armed.

It also happens that the users throw a sword to the ground (in a corner) and in the next round they are going to pick it up and they are armed again.

Greetings and thanks.

Question about Specific Features (Bandages/TNT)

Not sure if this is where I'm supposed to submit this, but don't see where I can toggle off whether or not paper is used as a "Bandage". Can this be disabled? Also, I'm not sure if this is a feature, but does TNT auto-ignite and is there a timer before it explodes that can be modified? Thanks.

EDIT: I also was wondering if this works with an economy plugin such as Vault? Sorry again if this is posted in the wrong spot. Thanks again!

Refill doesnt work

My chests dont seem to be getting refilled. is there a command to select the chests? please help i need this asap

Need help with setup NEED HELP

Hi

I want so my player to do /sg join and then they choose a arena and click the sign and then they teleport frozzen to the arena and wait for ful lobby or times start the game. And after every round the arena restets. Is that possible. Pls reply

CrabGame.

Bug in tile inventory reset at game reset (does not work at all)

When the world is reset, only block changes are reset, not Inventories or other metadata. This means

  • Item frames are not restored if the content was taken
  • Dispensers/droppers are not restocked (ever), neither are brewing stands, armour stands, or furnaces
  • Original chest content is not restored, so 'special' items in the chest at the start do not reappear, and the coloured wool blocks placed in slot 0 to specify the chest level do not reappear! This then means that a chest with a specific level resets back to level 1 after the first game.

Checking the code seems to show that a chest's content is randomly updated on first open by ChestReplaceEvent to match the selected level in chest.yml; this level is picked by the colour of the wool in slot 0 or else 1. However the items previously there are all deleted first. The nightly 'chest restock' is actually just clearing the array of chests already visited, so that they are reloaded on next open. This would seem to be a big thing to fix as the GameManager.openedChest hashset would need to become a hashmap holding the original inventory, and the clear of this map done at arena reset or at chest restock would need to also reload the original content back into the chests; thus a new function for resetChests rather than just clearing the array.

This still does not solve the problem of how droppers/dispensers/armourstands/frames/etc should be correctly reset. Droppers and dispensers in particular are difficult as they are usually triggered by redstone and so catching the player interact event will not work.

More documentation on chests, please

Looking into the code seems to show that the chest.yml can in fact have configuration like the kits.yml, though it needs to be quoted, and you can only use numerical item IDs.

Also, there seems to be something special about paper working as a bandage to heal?

Finally, there is some very odd code in there looking for a block of wool and using its colour to indicate the chest level, then puts ALL the potential items from that level into the chest. Not sure how this works or where it works. It seems to be triggered by the initial opening of the chest? This would be very helpful for setting up randomised chests in the game, if I could work out how it is supposed to work.

Please provide a little more documentation on how we can use these features in the mod.

Citezens support?

Helloooo,

I was wondering if you would consider adding support for citizens so that of there are any empty spots after a certain amount of time they get filled with bots and the game begins. I know that would very likely be very hard but cant hurt to ask

Player Permissions Not working for us

We run a 1.9.4 Towny server and are having difficulties getting the survival-games plugin to work correctly. It appears to be setup right (signs work, etc..) but when non-op players join the game, they can't break or use. They can PVP and can also use non-game commands like fly even though the config is set to block non-game commands.

Couple things to note: We tried this with and without a worldguard region around it. With WG region, we added flags for use, interact, etc... but that didn't help.

We also don't allow building in the wild (part of towny). I assume this is the conflict, but it doesn't impact any of our other plugins so not sure what is happening. Ideas? I can supply config, etc.. if necessary.

People are not getting teleported to spawn if the game's finished.

As you can see, the title says it all. I tried multiple times to recreate the arena but people won't get teleported to spawn if the player dies. Instead of being teleported they just stay at the same place where they died and just getting their normal inventory back. They're not invincible and can be killed, they'll still lose their normal items they had before the game started.

Info:

  • Server is using Paper Spigot (1.12.2).
  • Using version 0.6.6 of the SurvivalGames plugin.

I hope you can fix this, because it's really annoying. Thanks!

Regrads,
Colin (ThisIsOllie)

Issue With PluginYML

I got an issue with the plugin.yml when running:

[20:42:28] [Server thread/ERROR]: Could not load 'plugins/Survival-Games.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:164) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
 in 'reader', line 1, column 1:
    name: SurvivalGames
    ^
expected <block end>, but found FlowEntry
 in 'reader', line 4, column 27:
    authors: [Double0negative], ThunderGemios10
                              ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:381) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:232) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:159) ~[spigot-1.8.8.jar:git-Spigot-db6de12-d3e0b6f]
    ... 5 more

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.