Package cc.co.evenprime.bukkit.nocheat.data

Examples of cc.co.evenprime.bukkit.nocheat.data.DataStore


    public NoCheatPlayerImpl(Player player, NoCheat plugin) {

        this.player = player;
        this.plugin = plugin;
        this.data = new DataStore();
        this.history = new ExecutionHistory();

        this.lastUsedTime = System.currentTimeMillis();
    }
View Full Code Here


     *
     * @param player
     * @return
     */
    public static ChatData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        ChatData data = base.get(id);
        if(data == null) {
            data = new ChatData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

     *
     * @param player
     * @return
     */
    public static BlockBreakData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        BlockBreakData data = base.get(id);
        if(data == null) {
            data = new BlockBreakData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

     *
     * @param player
     * @return
     */
    public static InventoryData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        InventoryData data = base.get(id);
        if(data == null) {
            data = new InventoryData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

     *
     * @param player
     * @return
     */
    public static BlockPlaceData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        BlockPlaceData data = base.get(id);
        if(data == null) {
            data = new BlockPlaceData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

     *
     * @param player
     * @return
     */
    public static MovingData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        MovingData data = base.get(id);
        if(data == null) {
            data = new MovingData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

     *
     * @param player
     * @return
     */
    public static FightData getData(NoCheatPlayer player) {
        DataStore base = player.getDataStore();
        FightData data = base.get(id);
        if(data == null) {
            data = new FightData();
            base.set(id, data);
        }
        return data;
    }
View Full Code Here

TOP

Related Classes of cc.co.evenprime.bukkit.nocheat.data.DataStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.