fixed interaction with the waystone to be more precise and using the new interaction entities rather than a guessing game of logic
fixed waystones to snap to block centers now and fixed coloration on waystone tag names
reconfigued reload and sleanup systems to be more efficient and prevent excess duplicated stacked entities (you may need to do /wp reloadp lugin) on first load in aroudn each waystone to fix them but they will be good after that)
I've gone ahead and completely rewrote the plugin from the ground up with basically all the same functionality but with a few new features and updated logic
note: this build is in beta and there will be bugs that I haven't found yet so please be sure to tell me if you find any and how you came across it so I can work to try and fix it
this build is fully compatible with paper 26.2!
WARNING: this new build has also reworked the config system so your old points and config settings will not be trasnfered as the structure and syntax have changed from both configs, you can convert your old ones to work with the new ones but it would be a long tedious task
what changed in poinst.yml?
item: is now material: and uses enum listing for items (all uppercase)
description now acts as a list so your string will need to be shift down a line and after a dash to count as the description
yaw and pitch are now gone as the new tp system just places you next to the waystone pillar in your current orientation (much simpler for me lol)
color is no longer stored as & codes and rather now their basics all caps name variant E.G. &a is now GREEN, &6 is now GOLD and so on
one more note here as im still working out the bug but you will have to have luck perms or similar permission plugin to access the commands for setting and removing points the permissions are worldpoints.admin and worldpoints.moderator
i have gone ahead and changed how points are saved and thus made the mnow save to their own yml file named points.yml that will save in tandem wit hthe config.yml in the config folder of the plugin, should you update your plugin version simply copy all the contents from the og config starting from points: and down and paste that into the points.yml file then save and reload the plugin with the new built in wp-reload command, with this new functionality it will make it much easier to save, export, or import any points from your servers without major changes or reconfiguration as well as make it easier to avoid accidental errors from altering the config file
recent update including the on-op-join listener to check for updates was not listening properly and as a result did not function as intended but has since now been fixed
there is now vault support with worldpoints! you can set a static price per warp in the new config layout (if you are updating from an existing worldpoints configuration and do not want to delete and regenerate your config which stores all the worldpoints you can add these lines under the rows line
economy-mode: false
warp-price: 50
by adding these you can keep your current points and still be in the new update!
economy-mode - this line is a true|false option
if you’d like to use worldpoints as it were without needing vault and an economy plugin leave the option as false
if you’d like to utilize an economy to charge currency upon travel change this to true
warp-price - this line is a number you may use with or without a decimal
you may change this to any number you’d like to charge players for their travel each time
small cosmetic changes to the plugins commands this include tabComplete for the new function that allows a player to use the /worldpoints command in the context of /worldpoints <pointName> to warp directly to the defined point name or just as /worlpoints to open the gui this new function also works with all the aliases to the worldpoints command
sound and message now play to whole server when new point is added to the list