SurvivalGamesMultiverse
Description
PERMISSIONS || COMMANDS || CHANGELOG || PLANNED
Suspended
The development of this plugin has been suspended/reduced to almost standstill, this is because I simply don't have any time for it. I will only release a new update if the plugin stops working completely, like a new minecraft version, or some other major change in Bukkit.
If someone wishes to take over the development of this plugin, feel free to PM me and we can discuss it if I find you competent enough.
Currently under heavy development
This plugin is currently being completely remade from the ground up. This should fix some of the problems this plugin has since it wasn't developed for public release from the start. It was only later that I modified it for release here.
I will link to the new page where you will be able to find the remake when it is ready for release. One thing to note is that most of the configs have changed to support a lot more configuration, this means that if you want to change to the remake, you will have to reconfigure the plugin.
Features
- Supports custom worlds.
- Fully automated, install and forget. Even updates itself.
- Simultaneous games in different worlds.
- Does not require WorldEdit to be able to work.
- Multi-language support, just edit the strings in language.yml.
- Randomized chests, loot-list can be configured in itemlist.yml.
- Logs and saves all wins, kills and deaths.
- Auto regenerates the worlds after each match.
- Backs up players inventories.
- Easteregg in the config.
- Worldspecific grace period.
- Worldspecific blockfilter.
Requirements
- No requirements, just install and play.
Conflicts
- No known conflicts.
Possible conflicts (not confirmed):
- Multiinv and similar plugins.
Important
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
It also uses an auto-updater that automatically fetches the latest moderator approved version of this plugin and installs it if needed everytime the server is started. This can be disabled in the config for this plugin. Simply put "false" instead of "true" after "auto-updater" in the config.
Description
This plugin allows you to host multiple SurvivalGames in diffrent worlds at the same time.
Worlds
Each survivalgames-match takes place in its own world. Anything that happens in these worlds are logged and reset after each match. This means that you could do pretty much anything to the world and everything will be back to normal when a new round starts. This opens up for some interesting gameplay, like allowing all players to be able to craft their own armor or weapons, or build bridges, dig tunnels, create walls to hide behind etc.
Each match is timed, and after a configurable time all players in the match are teleported to a predefined arena to fight till the end. If the players just wont kill each other in the arena the plugin will kill all players left and start a new match if the time runs out.
Chests
All chests in the map gets randomized the first time a player opens them when a new game has started. You can edit what items are going to spawn in the chests and how often they will spawn in the _itemlist.yml_.
If a player crafts a chest in the game it will automatically be added to the log of chests to not randomize, this means that players can not craft a chest and it will be randomized when they open it. It will function just as a regular chest, and when the game resets the chest gets removed. Chests that already where placed in the world will not be added to the log of chests to not randomize, this means that all chests that where allready in the world gets randomized when a player first opens it.
Chests will only get randomized once every game. Opening and closing a gamechest (a chest that allready was in the world and not crafted by a player) will not randomize it again when opened.
Multithreaded I/O operations
Everytime the plugin needs to talk to the database or log something in a file it happens in a seperate thread. This will prevent server lag/freezes when the plugin needs to store some information, like kills, wins, deaths or positions.
Stats & MySQL
Kills, wins and deaths are logged for each player and displayed on the right side of their screen when they play.
This data can also be sent to an other MySQL-database so that it can be displayed on a webpage for example. Note, the plugin will never read anything from that MySQL-database, it will only send the stats to it when it gets updated.
The table in the MySQL-database has to have the following structure for it to work:
Column Name | Type | Primary Key | NotNull |
playernames | VARCHAR | YES | YES |
wins | INT | NO | NO |
kills | INT | NO | NO |
deaths | INT | NO | NO |
Multilanguage support
Every message/broadcast in the game (except error messages for commands or in the console) can be customized.
You can edit/translate the messages in language.yml.
This allows people from all nations to play the game in their native language without me having to do all the translations myself.
For example, the community im the head developer for is using this plugin in swedish. All they had to do was translate the strings in the language.yml file.
Setup
Installing the plugin.
Configuring the itemlist.yml.
Signs
Players join by rightclicking a sign. These signs can be placed anywhere.
To create "joinsign", write [sginfo] on the first line of the sign, and the name of the gameworld on the second line. Then just rightclick the sign to register it and it will update with the correct information.
Sourcecode
This plugin is open-source and released under the GNU-GPLv3 license. The code can be found here: GitHub/SurvivalGamesMultiverse
Is it possible for me to spectate a game? If so what is the permission! Please answer A.S.A.P
@adamtheminer12
Make sure it isn't an other plugin that is causing the problems.
plsplspls help! when I or my players fight, pvp is off even tho it sais, pvp is now enabled!
@MrTurboTrio
I need the entire stack traces not just the titles to be able to find the cause of the problem.
@windy31
Make sure the itemlist.yml is correctly edited and doesn't contain any tabs, only spaces to indent the values.
@antichip
You are using an older version of bukkit (version 1.5), my plugin is currently being developed for 1.6 and upwards. I will try to add a fix that makes it support older versions, it will be added in version 1.4.8 of this plugin.
so i change the world name in the config to the one i want and delete the SURVIVALGAMES1 AND 2 from the config as it says to. Then i load my server and it deletes my changes and remakes/loads survivalgames1 and 2 worlds back so i cant make my own world can you help
You should make you be able to edit signs and prefixes, cause I want survival games, hunger games, sky wars and stuff like that on my server, but I want to use this plugin for all of them. Also, you should make a permission to join a full game
how i can freese/suspend the world and add more chests ?
http://pastebin.com/mfgAHmvL
Some errors in my server log. What should I do? They keep on coming back.
Awsome plugin
I have autoupdater on, basicly I joinned sg one day and the world didn't reset. I have no idea why. I don't want to downgrade because I want to have the grace period.
Hello, First off I'd like to say thanks for the plugin and all the work you have done so far.
I noticed this error while trying to start a game, any ideas?
11:17:08 AM [WARNING] [SurvivalGamesMultiverse] Task #27408 for SurvivalGamesMultiverse v1.4.7 generated an exception 11:17:08 AM java.lang.NoSuchMethodError: org.bukkit.entity.Player.setHealth(D)V 11:17:08 AM at se.lucasarnstrom.survivalgamesmultiverse.managers.PlayerManager.resetPlayer(PlayerManager.java:115) 11:17:08 AM at se.lucasarnstrom.survivalgamesmultiverse.managers.PlayerManager$1.run(PlayerManager.java:84) 11:17:08 AM at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58) 11:17:08 AM at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 11:17:08 AM at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509) 11:17:08 AM at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:235) 11:17:08 AM at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472) 11:17:08 AM at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404) 11:17:08 AM at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Hello,i wanna create my server on this plagin,but i'm really need to rework it a little,please can u write how i can use ur soucrecode?(I've seen readme on Git,but i cant understand where i should write Clone this by using "git clone https://github.com/Chilinot/SurvivalGamesMultiverse.git",etc) And i wanna tell u about one error: If use this plugin with http://dev.bukkit.org/bukkit-plugins/crackshot/,then,when i'm killing last enemy on arena,server get error: [SEVERE] Could not pass event PlayerInteractEvent to SurvivalGamesMultiverse v1.4.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:207) at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:374) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:628) at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:64) at se.lucasarnstrom.survivalgamesmultiverse.managers.ChestManager.randomizeChest(ChestManager.java:99) at se.lucasarnstrom.survivalgamesmultiverse.listeners.Players.onPlayerInteract(Players.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 17 more
Is there a way to could make 2 block filters? What I mean by this is, let's say I want people to be able to break EVERY block apart from an enchantment table, the current blockfilter you just put in the items they can break, and it would take a while to make it so people can break ALL those blocks.
@Lubenica998
That's a really odd error. Enable debug in the config and let me know if you get any more errors.
I place the jar file into my plugins folder but when i start/stop the server the folder doesn't appear? why won't the folder come
Hello, I have got many of these errors in my log: http://pastebin.com/190BGMY6
Also, durning the game, sometimes some players are kicked from the arena and they got the message that they left the arena and that message: "No locations left in arena! You were killed!"
Please helpe me! Thanks! :)
@startnummer106
I NORM JUST USE MULTIVERSE AND TURN SPAN MONSTERS OFF
oops sorry caps
@startnummer106
If you use multiverse instead of multiworld you can use the command /mvm set <monsters/animals> <false/true>
with false being they wont spawn.
The weather you can turn of in the config file.
i havent found a good way to keep it day in plugins so i just use the daylightsensor, a redstonesignal reveser and a commandblock with the command /time set day. this way when it gets dark it automaticly turns it to day.
I have got an error in my log: http://pastebin.com/190BGMY6
@LimboZone
i am looking for how to that monsters dont spawns. an how i can do like i will bee day all the tine (not rain, no thunder or skyes if that is poseble)
and how to do like i not will be so much lag?