massivecraft-logotype-plugin-creativegates-2000

Player Guide
Server Owner Guide
Spigot
Bukkit
GitHub

How to Install

  • Ensure you have Java 7 installed.
  • Stop the server.
  • Put MassiveCore.jar in the plugins folder. Use the right MassiveCore version.
  • Put CreativeGates.jar in the plugins folder.
  • Start the server.
  • Configure the MassiveCore aspects and multiverses using the commands.
  • Modify /mstore/creativegates_mconf/instance.json to your liking.
  • Modify /mstore/[email protected]/instance.json to your liking.
  • Configure permissions.

Commands

*Sssssh* don’t tell anyone but CreativeGates actually has a few commands. These are however only useful for server owners and never useful for players.

  • cg,creativegates,creativegate the CreativeGates base command
    • world world gate management
      • l,list [page=1] gate count per world
      • delete <world> delete all gates in world

Use “/cg l [page=1]” to check how many gates there are entries for in the database. The gate count for each world will be listed. Use “/cg world delete <world>” to delete all gates in that world. These commands are useful when you are removing a world map from the server. You could remove the world map and the database entries for the gates would still be left intact. This could be good since you might want to re-add that map later on. However if you are planning on removing the map permanently you might want to delete all gates in the world to keep the database clean.

Portal vs Water

CreativeGates can use either portal blocks or water blocks for portal content. You decide which to use in the “uconf”.

For portal blocks to work without bugs you must open your server.properties and set allow-nether=false. This will disable the generation of the vanilla nether map and the vanilla nether portals. This is how we do it on MassiveCraft. You can add one, two or even three custom nether worlds using a world manager plugin later on.

For water blocks to work you don’t need to do anything special. If you want the vanilla nether world and portals you probably want to change to water portals in the config. Otherwise players entering nether gates in the nether might exit through CreativeGates.

MassiveCore Aspects

What is an MassiveCore aspect? Make sure you read the documentation for MassiveCore.

  1. creativegates:
    • What gates do exist.
    • What are the config options are set to.

Multiverse Conf

The multiverse conf is the file /mstore/creativegates_mconf/instance.json. You can make changes to this file while the server is running. The modifications will automatically be detected after a few seconds and loaded into the server. You don’t need to run any command or restart the server for this to happen.

This config contains settings that apply in all universes and everywhere on the server.

What the options do:

  • aliasesCg: You can decide what you want the base command aliases to be here.
  • permissionDefaultCreate: Should players get permission to create gates per default? Valid options are “TRUE”, “FALSE”, “OP” and “NOT_OP”.
  • permissionDefaultUse: Should players get permission to use gates per default? Valid options are “TRUE”, “FALSE”, “OP” and “NOT_OP”.

Universe Conf

The universe conf is the files /mstore/[email protected]/instance.json. There is one per universe. You can make changes to this file while the server is running. The modifications will automatically be detected after a few seconds and loaded into the server. You don’t need to run any command or restart the server for this to happen.

This config contains settings that apply to a specific universe.

What the options do:

  • enabled: If you set this to false the plugin will be disabled in this universe.
  • usingWater: CreativeGates use portal blocks for portals per default. Some people prefer portals mad out of water.
  • maxarea: This defines the maximum gate content size. The flood fill algorithm stops running if no frame is found when the content has reached this size.
  • blocksrequired: The blocks required in the frame.
  • removingCreateToolName: Is the name removed from the creation tool when creating a gate?
  • removingCreateToolItem: Is the whole create tool item removed when creating a gate?
  • materialCreate: The material used for the gate creation tool.
  • materialInspect: The material used for the gate inspection tool.
  • materialSecret: The material used for the network secrecy tool.
  • materialMode: The material used for the gate enter/exit mode tool.

plugin.yml