Added Effects and invincibility

- If delays are disabled, cooldown will not add delay time to cooldown
- Added potion effects and invincibility upon rtp'ing
- While in debugger mode, be able to execute '/rtp test' to test potion effects and particles
- Fixed an issue with explode particle shape
This commit is contained in:
SuperRonanCraft
2020-08-10 22:00:45 -04:00
parent 2ffe2b5cb3
commit fe12cb802b
13 changed files with 201 additions and 43 deletions

View File

@@ -33,6 +33,15 @@ Settings:
Type: 'REVERSE_PORTAL' #list of particle types at https://github.com/ByteZ1337/ParticleLib/blob/master/src/main/java/xyz/xenondevs/particle/ParticleEffect.java
Amount: 180
Shape: 'SCAN' #Types available are "Scan, Teleport and Explosive"
Effects:
Invincible: #Amount of time a player should not take damage for
Enabled: true
Seconds: 5
Potions:
Enabled: true
Types:
- 'Blindness:60'
- 'Invisibility:60'
DisableUpdater: false
Default:

View File

@@ -39,4 +39,7 @@ permissions:
default: op
betterrtp.updater:
description: Get notification on new updates
default: op
betterrtp.test:
description: While debugger enabled, be able to test particles, potion effects and sounds
default: op

View File

@@ -52,4 +52,7 @@ permissions:
default: op
betterrtp.info:
description: View info about all worlds rtp will work in
default: op
betterrtp.test:
description: While debugger enabled, be able to test particles, potion effects and sounds
default: op