ZetraMain
ZetraMain
What is ZetraMain?
ZetraMain is a plugin, which is part of the 'ZetraBunch'. It has an API for the rest of the plugins, so they don't have to have the extra code themselves (replications - would be annoying if I had to re-release each one when I make a slight change).
It also has some basic commands, '/zsurvival' and '/zcreative' which change your gamemode to survival or creative, aswell as the gravity command and speed commands, which use Spout(craft) to change your movement speed and the gravity, but it doesn't (yet) reduce fall damage taken when gravity is changed.
What are the features?
- Has an API of whether blocks are 'canPassThrough', like WorldEdit (BlockData)
- Has a 'PlayerManager' API, which has the following features:
- getPlayer methods, to make it simpler to fetch players from a server
- getOfflinePlayer methods, to make it simpler to fetch offline players from a server
- getBlockIn methods, to fetch a player's eye location
- getBlockOn methods, to fetch a player's location that they're standing on
- ascend methods, to make the player ascend (1)
- descend methods, to make the player descend (1)
- Has some commands:
- Template: /<command> <required argument> [optional argument] - Description of command - Permission(s) required for command, separated by & symbol
- All require permission 'zetra.allow'
- /zetra - Gives a help message - zetra.help
- /zetra speed [newspeed] - Sets speed to [newspeed] if defined. If not defined, if speed is not 1, sets speed to 1, otherwise sets speed to 1.5 - zetra.speed (2)
- /zetra gravity [newgravity] - Sets gravity to [newgravity] if defined. If not defined, if gravity is not 1, sets gravity to 1, otherwise sets gravity to 0 - zetra.gravity (2)
- /zetra survival - Sets gamemode to 0 (survival) - zetra.survival
- /zetra creative - Sets gamemode to 1 (creative) - zetra.creative
1 - Not currently working correctly
2 - Requires Spout(craft)
What are the dependencies?
It has best functionality if you use, but it doesn't require the use of:
What other plugins is it a dependency of?
All of the rest of the ZetraBunch:
- ZetraAdmin
- ZetraChat
- ZetraJump
- ZetraLabyrinth
- ZetraMail
- ZetraMain
- Zetratmos
- Zetregion
There are no other plugins it is a dependency of, as far as I know.
Comments