Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rayzr522/ocmfixer
Fixes various issues with older versions of OldCombatMechanics
https://github.com/rayzr522/ocmfixer
attributes bukkit fix minecraft nbt ocm old-combat old-combat-mechanics playerdata-files
Last synced: 26 days ago
JSON representation
Fixes various issues with older versions of OldCombatMechanics
- Host: GitHub
- URL: https://github.com/rayzr522/ocmfixer
- Owner: rayzr522
- Created: 2016-11-03T12:51:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T00:16:00.000Z (11 months ago)
- Last Synced: 2023-12-22T03:20:06.319Z (11 months ago)
- Topics: attributes, bukkit, fix, minecraft, nbt, ocm, old-combat, old-combat-mechanics, playerdata-files
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OCMFixer
Fixes the attribute values of all offline players by reading and modifying all playerdata files in a world folder.
- [Installation](#installation)
- [Commands](#commands)
- [Tutorial](#tutorial)
- [Join Me](#join-me)## Installation
You can [download the latest version from the releases page](https://www.github.com/Rayzr522/OCMFixer/releases).
## Commands
### `/read`
Usage: `/read `
Permission: None
Description: Reads the playerdata files in the given world folder and resets them all._Warning: There is no permission for `/read`, so you'll want to uninstall it after you're done using it._
## Tutorial
_Warning: To apply this to all players, it's suggested to do this while no players are online. The changes made by this plugin will be overwritten for any player that is online while executing the command, meaning it won't work for them. It's probably best to do this immediatly after a restart, or after doing `/kickall`._
To know which world to specify, look through all your worlds for one that has a non-empty `playerdata` folder. Then, to fix the world, just do `/read ` from the console (_or in-game, but again, it's best not to do this while anyone is online, including yourself_). Usually the world that has the playerdata files is the one specified as the main world in your `server.properties`. As an example, for my test server the main world was `Hub`. To fix it I just did `/read Hub`. It's as easy as that!