HorseStats v5.0.3

Details

  • Filename
    HorseStats-5.0.3.jar
  • Uploaded by
  • Uploaded
    Aug 23, 2019
  • Size
    70.32 KB
  • Downloads
    5,345
  • MD5
    27b121f0cb6321535122cb166aad79dd

Supported Bukkit Versions

  • 1.14

Changelog

v5.0.3

  • API upgrade to 1.14.4

v5.0.2

This build is intended for servers running Minecraft 1.13. This build WILL NOT run on any server versions other than 1.13.

  • Added api-version: 1.13 tag to plugin.yml.
  • Refactored lead material name. It was changed from Material.LEASH to Material.LEAD in the API, so it was adjusted in code and the default config to comply.

v5.0

  • Removed NMS dependency. HorseStats no longer requires exact server versions to run.
  • Added chest capacity to stat display for Llamas.
  • Compacted the health line down using heart symbols instead of printing the word.
  • Stats now save to the lore of the lead stack you punch a horse with.
  • Slimmed down some help messages and the language pack.
  • /setstat health now rounds to the nearest full heart. Spigot complains if health is set above max health, and using floating point numbers seemed to set this off.
  • /setstyle broken into /setstyle and /setcolor. The new commands and their permission nodes are:
    • /setstyle <style> - HorseStats.setstyle
    • /setcolor <color> - HorseStats.setcolor
  • This update changed the language pack. If you are using a custom file, it will need manual updating.
  • Code cleanliness as usual.

v4.1

  • Updated dependency. Supports MC 1.11.2 (Spigot v1.11.2-R0.1)
  • Fixed breakage from Spigot API changes. All horse types should be workable now.
  • Added speed to /setstat. It goes without saying, but absurdly high values will probably freak out anti cheat systems, and the vanilla server doesn't like super fast moving horses either.
  • I can now confidently say jump and speed values are surgically precise. Also trimmed off the decimals on the stat displays so it isn't printing numbers longer than the collective works of Shakespeare.
  • This update includes changes to the language pack. If you use a custom language file, you will need to manually update it.
  • General code cleanliness.

v4.0

This build was tested with my own personal account and a dud account ran out of a decompiled Minecraft client in a development environment. While I believe everything is running properly, there may very well be issues that my test environment couldn't produce. Please, comment or PM if you have any bugs, glitches, issues, <insert word of choice for software problems>. Transparency is key and I appreciate those of you who do share these things!

Well, its been a while, but we're back. Here we go again.

  • Updated dependencies. Supports MC 1.10 (Spigot v1.10-R1).
  • Two build "safety net" system is gone (for now). This version will only support the above build.
  • Configuration settings anti-grief, anti-interact, block-stats are all gone.
  • Friend system is gone. The command /hfriend and its permission node HorseStats.friend are gone.
  • Horse access is now controlled by what I am calling the HorseStats Internal Permissions system. This is separate from the server's permission system! This system uses the command /hperm and the permission node HorseStats.hperm.
  • Storage for the HorseStats Internal Permissions System uses SQL. If you don't have a clue about it, that's fine, it works without any setup out of the box.
  • Added anarchy-mode configuration setting. This will disable the HorseStats Internal Permissions system and make all horses vulnerable to anything. No owner checking, at all.
  • Made it so even non-lethal projectiles won't damage protected horses.
  • Patched around a Spigot issue that made trying to teleport horses located in unloaded chunks into a dupe exploit. Players are now told their horse is in an unloaded chunk, or dead.
  • Translation system overhauled in favor of new Language Pack model. HorseStats ships with a US English pack which will auto update itself. This can be copied and translated just as before, but any copies will not auto update.
  • Added configuration setting show-tag. Controls whether or not the [HorseStats] tag will display on messages.

v3.4.2

  • Updated dependencies. Supported MC and Spigot versions: MC 1.10 (Spigot v1.10-R1) and MC 1.9.4 (Spigot v1.9-R2)

v3.4.1

  • Skeleton horses with no owner, but marked as tame will no longer be untamed when hit with leads. Instead, the lead user will be made the owner.

v3.4

Hello BukkitDev, its been a while hasn't it.

  • Hotfix adding support for 1.9
  • The specific CraftBukkit builds supported are 1.9-R1 and 1.8-R3.

v3.3.2

This version is built around Spigot 1.8.7, but should have backwards compatibility with 1.8.3 (This is untested, however). Using another Spigot version will probably break the speed stat.

Your config and translate files, if you had a previous version of HorseStats, will be outdated. Back up your settings to another location and paste them into the new files.

  • Updated to fix speed for 1.8.7 servers.
  • New config setting "use-translate". If you don't use your translate file, set this to false, and HorseStats should automatically update your translate file if it is ever out of date. If you do use it, make sure this is set to true so that you don't lose your file. This is experimental and if it fails please let me know.
  • Efforts were made to make backwards compatibility for one Minecraft version. This build of HorseStats should work for both 1.8.7 and 1.8.3 servers, however, testing was only done for 1.8.7.
  • A typo was fixed in the translation file.

v3.3.1

This version is built around Spigot 1.8.3. Using another Spigot version will probably break the speed stat.

This update addresses the complete brokenness of version 3.3. Among fixes:

  • Friend lists should actually work now.
  • Fixed NullPointerException when players who are not owners of a horse try to do something that will require them to be the owner.

v3.3

  • This version is broken and removed from BukkitDev. These changes though are present in v3.3.1.
  • Package names and class names have changed. If you don't know what this means, you can safely ignore this.
  • New translation strings have been added, and old ones changed. You will need to paste in your old ones which are still relevant, and redo those that have changed.
  • The configuration has been heavily modified, and you will need to delete your current and generate a new one. Be careful, because the positive/negative on some of the settings is now flipped to make more sense, and if you copy-paste you will have the opposite effect of what you want.
  • Permission nodes have changed, the updated list is available on the Commands and Permissions page.
  • Removed SaddleLock config setting.
  • Renamed HorseGrief config setting to Anti-Grief (This is where the positive-negative flip comes into play).
  • Renamed NonOwnerHorseInteraction config setting to Anti-Interact (Thank god for the short name, and again, the flip).
  • Added config setting for changing stat display item.
  • Added config setting for changing teleport selection item.
  • Completely changed /horsestats display to be an actually good help menu.
  • Added alias /hs for command /horsestats.
  • Fixed potential issue with /setstat causing illegal health values.
  • Changed teleport selection system. Horses will no longer auto deselect after teleporting. You can still deselect a horse by hitting it.
  • New feature: Friends. A player can add a friend with the command /hfriend. Any friends of a player will be treated as the owner by the Anti-Grief and Anti-Interact systems, and commands except /untame and /setowner (To prevent friends hijacking horses). For friends to be recognized by the systems and commands, the player must have the "HorseStats.friend" permission.
  • Added command /hfriend.
  • Added permission node "HorseStats.hfriend" (Controls /hfriend, and if the player's friend list should be checked or if friends should be ignored).
  • Added feedback messages to /setstyle when it is used successfully (finally, I know) so you can actually know something is happening.
  • Optimizations (lol at optimizing a Bukkit plugin). But really there were some improvements made.

v3.2

Woo! 1.8!

  • This update was simply a hotfix to 1.8.
  • As the above bullet suggests, this was a very quick pass to make HorseStats for 1.8. If you find anything odd, let me know.
  • Removed a class that I found to be completely extraneous after a couple tweaks to another class. Took a solid 3 kilobytes off the file size so that's something.

v3.1

  • Package names changed. If you don't know what this means, you can safely ignore this.
  • Changed around /horsestats display. Added the version in this.
  • Added an explanation of SaddleLock and NonOwnerHorseInteraction in config.
  • Translation is now live. The translation file is named "translate.yml" and is in the same folder as the config. There are a lot of notes in translate.yml, please read them so you know what things are and how to properly edit it.

v3.0.2

  • Added an update notifier - this time up to Bukkit standards. Notifier ships as enabled.
  • If the updater says that an old version is the newest, just ignore it, but do let me know. Curse has played nice and been up to date recently, but it was horribly out of sync a while back and I scratched the update notifier because of this.
  • Anyone with "HorseStats.pluginalerts" will receive update notices when logging in. Notices are also in console.
  • Added translate section to config
  • Translation is not yet done, please bear with me; this update was rushed to address a few small things
  • Config is now split into sections
  • Removed a few lines that were unused
  • Prepared to move another string to the message enum
  • Fixed potential NullPointerException issue in /setstat
  • Fixed issue where /setstat may have ignored ownership
  • Removed login message. It sounds like people got the message... Real quick...
  • Added a global bypass permission node, "HorseStats.globaloverride". Players with this permission can completely override any owner checks. This is an extremely powerful permission and should only be given to staff members that you can absolutely trust.
  • Fixed an issue where some error messages were green, instead of red.

v3.0.1

See Known Caveats below. I am trying to determine if teleporting across worlds is now safe and need field testers.

  • Put the ownership fix back into leads. If your server was afflicted with this issue (horses were reported as tamed, but with no owner) you will unfortunately have to re-tame all your horses. Thank 1.7.9 for messing things up.
  • Added a message when this mechanism fires.
  • v3.0.1 is now using the 1.7.9-R0.1 Beta Build! This is still using the same stuff as the 1.7.9-R0.1 Dev builds and should not enter cripple mode.
  • An old setting has been taken out of the config. Refreshing it is not necessary, although you will get a reminder about it when HorseStats starts.

v3.0

See Known Caveats below. Shout out to LB for helping me squash some bugs! Prepare yourself.

  • Added "Cripple Mode". This disables the speed function of the stat display to avoid crashing the entire plugin when the server is running a CraftBukkit build that does not match that of HorseStats.
  • Added a console warning on plugin start if Cripple Mode is active.
  • Added a console warning on plugin start if the config is out of date.
  • Added permission node "HorseStats.pluginalerts". If Cripple Mode is active, or the config is out of date, having this permission will send a message alerting you to these issues, when you join the server.
  • Added command /setstat and permission node "HorseStats.setstat".
  • Moved horse ownership correction system to its own event listener. Horses that are tamed with no owner will now be reset when they are born. If anyone notices that horses are still tamed but not owned, please leave a comment and I will add this back to the lead function.
  • Renamed /ownerset to /setowner, and its permission "HorseStats.ownerset" has been changed to "HorseStats.setowner".
  • Each command now has a dedicated Command Executor, instead of one global executor.
  • /htp was tweaked a bit. You should not notice any changes. Sorry, but it looks like for now, horses will only be teleportable from loaded chunks.
  • I noticed that /hspawn is no longer spawning horses with identical stats. I did absolutely nothing to cause this, so praise the Bukkit gods.
  • Message output system was shifted over to an enum class.
  • Added a new config setting, "saddleLock". Unlike the pre-existing "nonOwnerHorseInteraction", Saddle Lock will only affect horses that are saddled. The two settings are completely independent of each other, however because NonOwner...Meh affects every owned horse, it will override Saddle Lock. tl;dr Pick one or the other, or neither, but not both. Both of these settings default to false.
  • Fixed an issue that may have made NonOwner...Meh do absolutely nothing.
  • Your config WILL be outdated with this update. Please take note of your settings, and delete it. A new config will generate next time you start or reload your server.
  • The config contains two fields, "configVersion" and "HorseStatsIsRunning". Do NOT modify these. Modifying Config Version will cause HorseStats to give bogus outdated config warnings. HorseStats does not use HorseStats Is Running to adapt to other builds. This is for administrator reference to know what build HorseStats is expecting, but not dependent on.

v2.2.0.2

-This build has not been tested for full functionality. Please report any atypical behavior.

-Updated to use CB 1.7.8-R0.1 (Yes, it says 1.7.2-R0.3, this is because Bukkit is technically still running on 1.7.2.)

-Because this version of Bukkit was released right in the middle of things, I had to drop a command I was working on. It will be ready on v2.2.1.

-The speed calculation was modified to be more accurate. It may appear that your horses are now fairly faster, but the speed should finally be accurate.

-Jump height calculation has been modified, but is not accurate still. I am getting close to a solution, but there is still a fair margin of error.

v2.2

-Reupload of v2.0 because submission policy changes were not made aware until my build was denied.

-Updated to use CB 1.7.2-R0.2

-Update checker removed because BukkitDev no longer trusts parsing their own RSS feeds, so from now on, you will have to manually check for updates.

-A lot of commands and permissions were renamed or deleted, as well as some new ones. To save my sanity and yours, you can see a clean command and permission list by visiting the Commands and Permissions page. It is updated for v2.2. Trust me, its prettier than cramming it all in here.

v1.7

-Updated for Minecraft 1.7.2

Please take care in running this build. As CraftBukkit is according to Bukkit unstable right now, it is possible that something may derp out, but as of now all seems to be well.

v1.6_b

-The same as v1.6, but reformatted for Minecraft 1.6.4.

-If you still use Minecraft 1.6.2, use HorseStats v1.6 and earlier.

-This build is marked as alpha, as it uses a development build of CraftBukkit. It should work fine, but will be bumped to beta then release when CraftBukkit releases a beta and recommended build, respectively.

v1.6

-Added command /changeowner <player>

-Fixed a server side bug where some horses can be flagged as tamed, but without an owner.

-Within the actual Minecraft server, it is possible for some horses (particularly those that were bred) to be flagged as tamed, but without an owner. In other words, it is tamed and can be ridden, along with use of its inventory, but if you /untame or hit it, or do any other function that checks if you own the horse, the plugin will think it is someone else's horse.

-To fix this, when one of these horses is hit with a lead, in the background it will now forcefully un-tame the horse and make it tamable so you can legitimately own the horse.

-Do not panic, this will not untame legitimately tamed and owned horses.

v1.5.2

-Fixed a permission bug preventing players from using /horsestats

v1.5.1

I suggest deleting your old config files to refresh it; old settings have been removed and it will not do this automatically.

I have no way of testing permissions on my local server; please PM or comment if something is not working.

-Changed a few things around on a coding level.

-No feature additions or changes.

v1.5

I suggest deleting your old config files to refresh it; old settings have been removed and it will not do this automatically.

I have no way of testing permissions on my local server; please PM or comment if something is not working.

+Added command setstyle

+Permissions fully functional

+Command Handler Overhauled

-Removed warning systems

-Removed no command mode and horse teleport config settings

v1.4.2

+Added permission node "HorseStats.untame"

+Added permission node "HorseStats.delhorseinfo"

+Added permission node "HorseStats.horsetp"

-Changed permission node "HorseStats.spawnhorse" to "HorseStats.hspawn"

+Added config setting "noCommandsMode" (disables all commands for all players)

+Added config setting "allowHorseTeleporting" (disables horse teleporting for all players)

+Added config setting "allowMultiWorldTeleporting" (prevents teleporting horses between worlds)

v1.3.1

I was not able to thoroughly test this build; please leave a comment if you find a bug.

+Added config setting to lock out non-owners from riding horses/accessing horse inventories (does not apply to untamed horses)

-A typo fix

v1.3

+Added command /horsetp

+Added function to select horses for tp (punch it with an ender pearl)

-A few subtle changes in text prompts

-Note: Speed value worked in testing, but has been reported to not work on some servers.If it doesn't work, just ignore it.

-Cleaned up code a bit

v1.2

+Added command /hspawn <donkey|mule>

+Added permission node "HorseStats.spawnHorse"

+Added permission node "HorseStats.*" (Gives all permission nodes)

+Added permission node "HorseStats.allCommands" (Gives all command based permissions [/slayhorse, /hspawn, etc])

+Added permission node "HorseStats.allWarnings" (Gives all warning based permissions [permsWarning, attackWarning])

-Cleaned up code a bit

v1.1

+Added update checker

+Added config.yml

+Added config setting for horseGrief (Can a horse be killed by a non owner or not)

+Added config setting for enabling/disabling update checker

These next two are more of a funny 'easter egg' than an improvement:

+Added optional argument to /slayhorse allowing the target horse to be launched in air

+Added config setting for launching horses with "/slayhorse launch"

But now back to more serious updates:

+Added command /delhorseinfo <name|chest> (Deletes a horse's custom name or equipped chest, based on specified argument. Chest contents will be lost, and name is not recoverable.)

+Added permission nodes HorseStats.attackWarning and HorseStats.permsWarning

-Warning systems may do nothing; I need some feedback as I cannot reliably test this on a local server. If they are in fact broken, I will release this same version without them.

-Fixed a few instances where the plugin didn't reply to player actions

-Renamed /removeownership to /untame

-Fixed bug where the owner could not shoot their own horse.

-Made jump statistic more accurate (was 0.2 or so blocks lower than actual; value is now accurate to a tenth of a block)

v1.0

-Uploaded Alpha Version

The age old issue of teleporting from one world to another may still be an issue but is as per usual unknown. Details are on the main plugin page.