This update is for Spigot/Minecraft 1.20.6, and has been compiled with Java 21 and Spigot API 1.20.6.
Due to API changes in 1.20.6 and the server requirement to be running Java 21 this version of the plugin is only supported on server versions 1.20.6+.
Updates:
1) Updated all deprecated code to use 1.20.6 Spigot API.
2) Invisible LIGHT_BLOCKS are now treated as AIR blocks and can be placed on the arena floor without affecting the gameplay. Thanks to
Vensterbankje for reporting this issue and testing the update.
3) Added Tamil translation - thanks to
subbulingam_s
(Lingam_S) for the Crowdin update.
4) Added check to prevent players being able to manually edit TNTRun signs.
5) Fix enchantment and potion effect names for 1.20.6. The default
shop.yml has been updated with the new names. Existing
shop.yml files will need to be editted manually.
These are some of the names that have changed:
JUMP -> JUMP_BOOST
SLOW -> SLOWNESS
CONFUSION -> NAUSEA
In
shop.yml for example, change this
Code (YAML):
'11':
name
: '&fSplash Potion of Confusion'
cost
: 50
material
: SPLASH_POTION
amount
: 1
permission
: tntrun.shop.11
lore
:
- Add&6 CONFUSION &5
(0:30
)
- Cost&6 50 &5coins
items:
'1':
material
: SPLASH_POTION
amount
: 1
displayname
: '&cSplash Potion of Confusion'
lore
:
- Confusion
enchantments
:
- CONFUSION
#30 <<< change this line >>>
to this
Code (YAML):
lore
:
- Confusion
enchantments
:
- NAUSEA
#30
Full list of valid potion effect names is here:
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
Change Log
==========
- add Tamil translation
- enable Tamil (ta-IN) as valid language
- enable Hungarian (hu-HU) as valid language without translations
- update WorldEdit dependency to 7.3.2
- update WorldEdit deprecated methods in math#BlockVector3
- update deprecated code involving potion effects and enchantments to use the Registry interface
- update deprecated code in scoreboardManager
- update deprecated TextComponent#fromLegacyText
- update deprecated code involving signs which can now have 2 sides
- update api-version to 1.20.6
- prevent players editing tntrun signs
- update to Spigot API 1.20.6
- fix enchantment and potion effect names for 1.20.6
- update URL for Java 21 in version checker
- treat light blocks as AIR
- refactor spigot version checker to remove potential resource leak
Anyone wishing to add a translation in their own language or suggest improvements to existing translations can visit
https://crowdin.com/project/tntrunreloaded.
Please report any issues found either in the discussion pages, on GitHub or Discord -
https://discord.gg/wFYSAS4