LOCStats

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Local-Stats

Create your own local stat database for minecraft.

IMPORTANT: LOCStats is an API not a classic plugin !


Plugins that are using LOCStats-API

Your plugin is using my API ? Tell me via PM or in the comment section :)

Plugin Author Download & Git
PrefixSuffixManager DiamondLooter Bukkit
Ancient (optional, in future versions) MysticCity, FroznMine Bukkit

Commands

Command Description Permission
/loc All you need to know. locstats.admin

API-Usage

1. Import the PlayerProfile with

import com.th3shadowbroker.loc.obj.PlayerProfile

2. Create a new object PlayerProfile

profile = new PlayerProfile(Plugin <YOUR PLUGIN>, Player <TARGET PLAYER>)

3.1 Add a new custom stat-value with

profile.setStat(String <PATH>, String/Int/Boolean/Float <VALUE>)

3.2 Get a custom stat-value with

profile.getStatStr(String <PATH>)

,

profile.getStatInt(String <PATH>)

,

profile.getStatFloat(String <PATH>)

or

profile.getStatBool(String <PATH>)

Or set/get stats from other plugins that are using LOCStats-API


Your custom stats:
'[YOUR_PLUGIN]':
  <Player's UUID>:
    Test: Testtext
    Test2: true
    Test3: 5
    Test4: 1.0

License

Logo created by Carvetia: http://icons.iconarchive.com/icons/carvetia/plugs/128/VGA-icon.png

All rights reserved.

Please give credit to me on your plugin site :)

InCode/InGame credits would be great but they are not required ^^

View LOCStats on GitHub


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    99525
  • Created
    Apr 23, 2016
  • Last Released File
    Apr 30, 2016
  • Total Downloads
    1,599
  • License

Categories

Members

Recent Files

Bukkit