Open MineZ
Open MineZ
OpenMZ is a open-source recreation of the famous ShotBow gamemode MineZ. (check it out at play.shotbow.net; great community, great players, great map). With OpenMZ you can turn your server into a Minecraft - DayZ hybrid. In its current state, it adds all the features of Shotbow's MineZ plus much more.
OpenMZ provides the majority of plugin capabilities to create a full clone of MineZ (except the map, of course). However, it also comes with a multitude of customization settings to make it your own.
Download Beta 6 (when its approved) here
A semi-complete, though not extensive, feature list is as follows:
Loot Chests
Chests can be configured, loaded, saved, placed, and destroyed all from inside the game. Specify different chest templates, all with their own item probabilities, durability probabilities, loot amounts, and zombie spawn settings.
Zombies
Zombies are faster, stronger, and smarter in OMZ. It takes the MineZ typical zombie AI and improves upon it. Zombie hordes will tell their brethren about a potential target, and move faster than usual without the choppy MineZ zombie movement.
Player Zombies
Instead of dropping their loot, players succumb to the Zombie disease. Their corpse must be killed again to get their loot.
Max Item Stacks
Configure the max amount of each item can be in a stack all from one file.
Custom Items
OpenMZ provides an easily-extendable custom item interface that allows you to create your own legendary items (developers only)
Bleeding
Every time a player takes damage, there is a small (configurable) chance that they will start bleeding, which is only cured by use of a bandage. Every time they bleed to take a configurable amount of damage.
Thirst
Players lose thirst over time (represented by their XP level). They must drink from a water bottle in order to regain thirst to the max amount.
Disease
Zombies have a low chance to give a player their disease. This disease requires drinking an antidote and deals damage over time.
Configurable
All of OMZ is designed to be configurable and extendable. A custom item system is planned to allow other developers to create complex new items. Even the messages sent to the players can be configured. Simply type */omz config* to get an interactive, clickable menu.
@FelonFalcon
already tried.
It seems likely that his db has an id field, and he has forgotton to pass any value to it, and as there is no default it fails.
There is something wrong with the db creating of this, can you please look into it , i want to use this so bad on my server<sub> i hyped it up and ppl wont stop bothering me bout it</sub>
i save spawn points , i place chest, i make custom chest, i make the inventory , but when the server restarts, its all gone <sub> cause this is on the logs.. and none of it works.</sub>
its the same errors i get no matter how many times i delete the db. remove the plugin <sub> add the files, if you need to check this out for yourself my ip is play.darksoulcraft.com</sub>
soulscapex<sub>, ill glad show you .. i would love for this to work! this is such a great plugin and would gladly donate to the author.</sub>
11:17:24 PM CONSOLE: WARN]: [OpenMZ] Saved config: HEALING_EXTRA_TICKS 11:17:24 PM CONSOLE: [INFO] Can not test connection as heartbeatsql is not set 11:17:24 PM CONSOLE: [INFO] Closing Connection[OpenMZ.1] psReuse[3] psCreate[6] psSize[6] 11:17:24 PM CONSOLE: WARN]: javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[[SQLITE_CONSTRAINT] Abort due to constraint violation (PRIMARY KEY must be unique)] 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:116) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.insert(DmlBeanPersister.java:76) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeInsertBean(DefaultPersistExecute.java:91) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:500) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:530) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:406) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveVanillaInsert(DefaultPersister.java:377) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveVanillaRecurse(DefaultPersister.java:361) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:308) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:282) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1629) 11:17:24 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1619) 11:17:24 PM CONSOLE: WARN]: at net.falcon.OpenMZ.onDisable(OpenMZ.java:276) 11:17:24 PM CONSOLE: WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:220) 11:17:24 PM CONSOLE: WARN]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:481) 11:17:24 PM CONSOLE: WARN]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:404) 11:17:24 PM CONSOLE: WARN]: at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:397) 11:17:24 PM CONSOLE: WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.disablePlugins(CraftServer.java:297) 11:17:24 PM CONSOLE: WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.stop(MinecraftServer.java:381) 11:17:24 PM CONSOLE: WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:483) 11:17:24 PM CONSOLE: WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) 11:17:24 PM CONSOLE: WARN]: Caused by: java.sql.SQLException: [SQLITE_CONSTRAINT] Abort due to constraint violation (PRIMARY KEY must be unique) 11:17:24 PM CONSOLE: WARN]: at org.sqlite.DB.newSQLException(DB.java:383) 11:17:24 PM CONSOLE: WARN]: at org.sqlite.DB.newSQLException(DB.java:387) 11:17:24 PM CONSOLE: WARN]: at org.sqlite.DB.execute(DB.java:342) 11:17:24 PM CONSOLE: WARN]: at org.sqlite.DB.executeUpdate(DB.java:363) 11:17:24 PM CONSOLE: WARN]: at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:85) 11:17:26 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.lib.sql.ExtendedPreparedStatement.executeUpdate(ExtendedPreparedStatement.java:164) 11:17:26 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.type.DataBind.executeUpdate(DataBind.java:74) 11:17:26 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.dml.InsertHandler.execute(InsertHandler.java:158) 11:17:26 PM CONSOLE: WARN]: at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105) 11:17:26 PM CONSOLE: WARN]: ... 20 more 11:17:26 PM CONSOLE: ERROR]: Could not call method 'public static org.bukkit.inventory.ItemStack org.bukkit.inventory.ItemStack.deserialize(java.util.Map)' of class org.bukkit.inventory.ItemStack for deserialization 11:17:26 PM CONSOLE: Source) [?:?] 11:17:26 PM TrailofBlood: Disabling TrailofBlood v0.7 11:17:26 PM CONSOLE: [INFO] Saving players 11:17:26 PM CONSOLE: [INFO] Saving worlds 11:17:26 PM CONSOLE: [INFO] Saving chunks for level 'MineZ'/Overworld 11:17:26 PM CONSOLE: max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M 11:17:26 PM CONSOLE: please wait... 11:17:34 PM CONSOLE: [INFO] Starting minecraft server version 1.7.2 11:17:34 PM CONSOLE: [INFO] Loading properties 11:17:34 PM CONSOLE: [INFO] Default game type: SURVIVAL 11:17:34 PM CONSOLE: [INFO] This server is running CraftBukkit version git-Spigot-1225 (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT) 11:17:34 PM CONSOLE: [INFO] Using 3 threads for Netty based IO 11:17:34 PM CONSOLE: [INFO] Generating keypair 11:17:34 PM CONSOLE: [INFO] Starting Minecraft server on *:25565 11:17:34 PM CONSOLE: ERROR]: ebean.properties not found 11:17:34 PM CONSOLE: [INFO] DataSourcePool [OpenMZ] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] 11:17:34 PM CONSOLE: [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader] 11:17:36 PM PermissionsEx: file backend registered! 11:17:36 PM CONSOLE: ERROR]: Could not load 'plugins/worldguard-5.8.jar' in folder 'plugins' 11:17:36 PM CONSOLE: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandPermissionsException 11:17:36 PM CONSOLE: Method) [?:1.7.0_25] 11:17:36 PM CONSOLE: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandPermissionsException 11:17:36 PM CONSOLE: Method) [?:1.7.0_25] 11:17:36 PM CONSOLE: Method) [?:1.7.0_25]
@commonblob
same issue im having <sub> if you manually create the files </sub> it will let the plugin run <sub> ive tried deleting the db file numerous times </sub> like felon says and still get that error..
which wont let me set spawns.. so i would also guess u cant get the default inventory cause the spawn wont set.
@commonblob
I would go to plugins/openmz and delete openmz.db. See if that fixes your problem.
Just grabbed your beta 3 plugin, I am unable to set any spawns on latest dev of Spigot.
The error is basically:
Caused by: javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[Field 'id' doesn't have a default value]
tried recreating the sqllite file, same problem.
@ForsakenSpitfire
This is unfortunately a server-wide modification. Changing it to one world only would require some work and isn't planned in the near future.
I wish to use this for my Brony server with a messed up equestria map, but I was wondering if this works just for one world, I don't want my entire server to have MineZ, just one world of it.
Sorry to spam <sub> but i need some help </sub> when my players type /omz spawn they dont get the default inventory <sub>, ? any help with this.</sub>
/omz zombiefocus when i try to set that it says pigmen focus set.
/omz zombiefocus sets the zombie focal point, probably near safe spawn towns.
ok is this how you set them to not spawn ther <sub>,</sub><sub>,</sub><sub><sub> probably near safe spawn towns</sub></sub>
or o keep spawn towns safe, you need to configure a zombie "focal point." At 0 blocks from this point on the map, pigmen should never spawn, but as you get further, they become more and more likely.
which is it <sub>,</sub><sub> this is confusing ... cause when i use the command it says pigmen</sub>
FelonFalcon, check out the forum whenever you can. I've post you a issue with /omz spawn command.
this is so far the best plugin for minez that actually works<sub> i have a few questions. tho anyway to maybe add a backpack feature</sub> and also broken limb feature...... in the new future.
Also how do i make a certain area zombie free.... .kind of confused on that part.... like i have the main spawn area before u spawn in teh world.......
how do i make that zombie free
@sammyturbo123
I'll fix that spawn list bug in the next update, thanks for your report.
I'll also add adding/removing spawns.
For your inventory see this part of the guide:
"If you save the spawn inventory as "default," it will be the inventory given to all players. If you save other inventories, they will only be given to players if they have the omz.spawninv.[name] permission. This inventory is ADDED to their inventory. If you have an inventory called hp_inv with a health 1 pot, and an inventory called extra_water with an extra water bottle, any player with the omz.spawninv.hp_inv permission will get the default inventory as well as a health 1 pot. If they also had omz.spawninv.extra_water, they will get the default inventory, a health pot, and an extra water bottle."
Found a bug where when i type: /omz spawn list. It removes everything from my inventory. Also can you add where i can remove spawns i have set aswell.
And i made several inventories which i should spawn with.. But it didnt work. i made sure i had the permission node "omz.command" in aswell. Even when i was OP and typed /omz spawn. it said "you dont have permission to use advanced OpenMZ commands. But when i make myself owner rank... it dosent say that when i type /omz spawn again.. But it still dosent give me the items!! Also no errors came up when doing this!
@soulscapex
omz.command.
please see Guided Tutorial
when i try the command , /omz item it says i dont have permissions <sub> what are the permissions.</sub>
@FelonFalcon
Thanks for your answer.
I will post a thread on the forum.
@vava147
Please use the forum for this sort of stuff.
Also, breaking in survival IS normal. I will add an option to disable it in the next version.
To get a bandage, use the command "/omz item bandage" and you should get one in your inventory.
sorry for the confusion.
Oups, some problems with last post
I'm french, so sorry for eventuals mistake.
With this plugin we can't destroy any blocks in survival. Is it normal? If yes, can you add an option in the config for allowing players breaking blocks in survival ?
And I can't find how to have bandage, it's not in the custom items folder. In the civ_tool.chest there is: entry2: item:
: org.bukkit.inventory.ItemStack
type: PAPER meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: >> §8§fBandage << JUST HERE durability: low: 100 hi: 100 probability: 30
Can we give it?
A french with a lot of questions.
Would it be possible to have this plugin only running on one world? For example, my server has 5 worlds, we have made a world just for this plugin, so players could only play on that one world instead of lets say the city.