Skip to content

Instantly share code, notes, and snippets.

@fpigerre
Created April 13, 2014 04:51
Show Gist options
  • Select an option

  • Save fpigerre/10569729 to your computer and use it in GitHub Desktop.

Select an option

Save fpigerre/10569729 to your computer and use it in GitHub Desktop.
A full list of available attributes that can be implemented in OresomeCraft maps. http://github.com/OresomeCraft/MapsPlugin
setTDMTime(10); // The amount of minutes that a TDM game is played for
setAllowBuild(false); // Whether building is allowed on the map
disableDrops(new Material[]{Material.STONE_SWORD, Material.DIAMOND_BOOTS}); // Materials that aren't allowed to be dropped on a player's death
setAutoSpawnProtection(4); // A radius around spawns in which player's won't be able to interact
setAllowPlace(true); // Sets whether or not players can place blocks on the map
setFireSpread(false); // Disables fire spread
setBuildLimit(78); // Disables block interaction above a certain height
disablePearlDamage(true); // Prevents damage when moving using enderpearls
lockTime("day"); // Sets a time lock on the map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment