thundergemios10 / survival-games Goto Github PK
View Code? Open in Web Editor NEWSurvival Games plugin for Spigot - UPDATED for 1.13+
Home Page: https://www.spigotmc.org/resources/survival-games.17740/
License: GNU General Public License v3.0
Survival Games plugin for Spigot - UPDATED for 1.13+
Home Page: https://www.spigotmc.org/resources/survival-games.17740/
License: GNU General Public License v3.0
Hello ! ๐ก๏ธ
When will you do updates frequently ? :(
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:
I hope you can fix this, because it's really annoying. Thanks!
Regrads,
Colin (ThisIsOllie)
Are this plugins have automatic world generator feature?
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
My chests dont seem to be getting refilled. is there a command to select the chests? please help i need this asap
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
This should be pretty easy to do in ItemReader, if I read it correctly.
Then items from mods would be able to be added without it being dependent on module load order.
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.
Players can not be PVP
No damage at all
Can not delete the existing arena
This is my configuration
################################################
################################################
#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:
#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-chest-repeat: false
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
entities:
keep:
- MinecartRideable
- MinecartFurnace
- MinecartCommandBlock
- MinecartSpawner
- MinecartHopper
- MinecartChest
- ArmorStand
- Painting
- ItemFrame
#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
reward:
enabled: true
contents:
#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'
(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.
Hello,
I Was Wondering If It Was Possible To Edit The Signs (Joining Arenas)
Thanks
MatrixMC Network Founder - Adunc19.
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
sg.admin.createarena
Doesn't match what's in the readme or spigot page...
what should i write on my signs so they transform into arena join signs ?
Also is there a way i can name my arenas ?
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.
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
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
It's not a WorldGuard problem, already checked.
It's also not a server problem since I can PvP in other worlds.
Please help
[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!
Duplicate issue: Double0negative/Survival-Games#125
It affects my server as well. After players die, the signs don't reset and players can't join the arena until the server is restarted or /sg reload all
is run. I tried taking a look into it, but couldn't find a way to fix it.
Mind taking a look? Thanks!
Is there any download yet? Sorry if this was an inconvenient place to put this, but I didn't know where else to ask.
So, I think it's about time we start documenting the plugin @sshipway
We can use the wiki feature :)
https://github.com/ThunderGemios10/Survival-Games/wiki
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.
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.
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{
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.
I am trying to create a leader board with /sg setstatswall and it says sent back error
On server startup I get this error: http://pastebin.com/2h4Td0VZ
On stat wall creation, I get this error (I am unable to create stat walls): http://pastebin.com/9uKbVYSX
Thanks!
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.
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.
On Version 1.11.2
Running Version 0.6.5
When using /sg setstatswall, this error appears: https://pastebin.com/ThgL0ses
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!
Using the knockback enchantment, in kits or chests, returns an error in console and breaks the plugin.
Chests.yml - https://pastebin.com/vcG8c727
Console Output - https://pastebin.com/yPVWVd7B
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
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
When the world is reset, only block changes are reset, not Inventories or other metadata. This means
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.
players cant open chests please help
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!
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.
What command is used to enable kits?
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.
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.
If you have any potion effect it will not removed even you join in SG, how to fix this issue?
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!
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!
WorldEdit/WorldGuard 6.x support coming soon?
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.
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?
There seem to be some issues with the Chest Refill code (I'll try and search through the source for this later)
Otherwise, all working well, a nice simple mod to provide the needed functionality.
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?
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.