NanoSuit
This is an event handling function that will allow your players to gain supernatural powers! The only thing they need to do is equip a chainmail armor (optionally with pumpkin on their head instead of chainmail helmet) and then use one of the commands listed below to activate their new powers.
You choose (in config) for how long does NanoSuit and its powers last once activated as well as the variation of new powers.
NOTE: the chainmail armor cannot be unequipped once NanoSuit is activated and will be destroyed once NanoSuit becomes inactive again to prevent cheating.
IMPORTANT! You need to manually assign your players permission cex.nanosuit in order to allow them to use this functionality. By default nobody is allowed to use NanoSuit, not even OPerators!
Configuration
There are 6 config options added to accommodate NanoSuit functionality:
- nanoSuitPumpkin - if this is true, nanosuit will get activated once player equips full chain armor (without helmet) + pumpkin head otherwise a full chain armor with its own helmet would mean a nanosuit activation. Default: true
- nanoSuitSpeed - speed multiplier when nanosuit is activated... this will apply a SPEED potion effect on player where number 0 will apply Speed I, 1 will apply Speed II, 2 will apply Speed III and so on... CAUTION! Speed potions apply disortion, so with high enough number player's viewpoint can get very narrow! Default: 2
- nanoSuitJump - jump height multiplier when nanosuit is activated... this will apply a JUMP potion effect on player where number 0 will apply Jump I, 1 will apply Jump II, 2 will apply Jump III and so on. Default: 2
- nanoSuitDamage - damage multiplier when nanosuit is activated... 2 means double damage (200%), 1.5 means 150% damage and so on. Default: 2
- nanoSuitTime - how long (in seconds) will the NanoSuit be operational after putting it on. WARNING: after this time, armor is automatically destroyed and all powers are cancelled. Default: 180
- nanoSuitRechargeTime - how long (in seconds) must a player wait before putting on another NanoSuit. Default: 500
/cex_armor
- Description: Makes player invincible to incomming damage while NanoSuit powers hold.
- Usage: /cex_armor
- Permission node: cex.nanosuit
- Default permission: nobody
- Aliases: armor
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_armor.class
/cex_cloak
- Description: Makes player invincible to incomming damage while NanoSuit powers hold.
- Usage: /cex_cloak
- Permission node: cex.nanosuit
- Default permission: nobody
- Aliases: cloak
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_cloak.class
/cex_strength
- Description: Makes player invincible to incomming damage while NanoSuit powers hold.
- Usage: /cex_strength
- Permission node: cex.nanosuit
- Default permission: nobody
- Aliases: strength
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_strength.class
/cex_speed
- Description: Makes player invincible to incomming damage while NanoSuit powers hold.
- Usage: /cex_speed
- Permission node: cex.nanosuit
- Default permission: nobody
- Aliases: speed
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_speed.class
/cex_jump
- Description: Makes player invincible to incomming damage while NanoSuit powers hold.
- Usage: /cex_jump
- Permission node: cex.nanosuit
- Default permission: nobody
- Aliases: jump
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_jump.class
Special permissions
There was 1 special permission introduced to CommandsEX to accommodate NanoSuit functionality, which is used by all above commands (i.e. player must have this permission to be able to activate NanoSuit by equipping chainmail armor). This permission is DISABLED by default for everyone and needs to be assigned per player or per group using your permissions manager:
- cex.nanosuit - Allows players to activate NanoSuit powers.
How to remove this feature
Should there be a need to manually remove this feature from the JAR file, the following files must be removed:
com/github/zathrus_writer/commandsex/handlers/Handler_nanosuit.class
com/github/zathrus_writer/commandsex/handlers/Handler_nanosuit$TimeRemaining.class
com/github/zathrus_writer/commandsex/commands/Command_cex_armor.class
com/github/zathrus_writer/commandsex/commands/Command_cex_cloak.class
com/github/zathrus_writer/commandsex/commands/Command_cex_strength.class
com/github/zathrus_writer/commandsex/commands/Command_cex_speed.class
com/github/zathrus_writer/commandsex/commands/Command_cex_jump.class