Skip to content
Pieter Svenson edited this page May 5, 2022 · 2 revisions

Nope is a powerful and modular world-management administration plugin with a comprehensive developer API for Sponge. The plugin is designed to be used exclusively by administrators and by other plugins.

Admins control game behavior by defining Settings that apply to certain regions of the world. Settings have both a Setting Key, which is registered at the start of the game, and a Setting Value, which is specially applied to the Setting Key and directly assists in the evaluation of the result of the Setting Key at some arbitrary location. So, if you wanted to stop players moving, you may apply a restrictive Setting Value on the specific Setting Key in charge of controlling player movement.

Nope organizes the physical space of the server into Hosts. There are three types of Hosts: the Global, Domains, and Scenes. The Global is a Host that surrounds the entire server, a Domain is a Host that encapsulates a single world, and a Scene is a user-defined Host that encapsulates only the space inside user-defined Zones. Zones are just everyday 3-d objects, like a cuboid, cylinder, or sphere. So, a Scene may surround Minecraft castle by consisting of a cuboid around the keep and cylinders around all the towers. Any Host-specific behavior would then be applied everywhere in those multiple Zones.

Users may apply Settings by adding them to Profiles. A Host, then, has a list of Profiles which are applied in order. Just as a Host may have multiple Profiles, a Profile may added to multiple Hosts. This allows for powerful inheritance of behavior.

For example, if you wanted to protect multiple regions of your server, you may first create a single Profile and add all the Settings that make the Profile protective. Then, you may create as many Scenes as you like with appropriate Zones and add the protective Profile to all the Scenes. This way, you may edit all protective behavior by just changing a single Profile, but you may still add more granular functionality to any one Scene by creating a new Profile and adding it to the Scene's list of Profiles.

Clone this wiki locally