<commit_before>package com.dumptruckman.chestrestock.util;

import com.dumptruckman.minecraft.pluginbase.permission.Perm;

public class Perms {
    
    private static final String BASE_PERM = "chestrestock.";
    
    public static final Perm CMD_CREATE = new Perm.Builder(BASE_PERM + "cmd.create").build();
    public static final Perm CMD_CHECK = new Perm.Builder(BASE_PERM + "cmd.check").build();
    public static final Perm CMD_UPDATE = new Perm.Builder(BASE_PERM + "cmd.update").build();
    public static final Perm CMD_SET = new Perm.Builder(BASE_PERM + "cmd.set").build();
    public static final Perm CMD_RESTOCK = new Perm.Builder(BASE_PERM + "cmd.restock").build();
    public static final Perm CMD_DISABLE = new Perm.Builder(BASE_PERM + "cmd.disable").build();

    public static final Perm CAN_BREAK_ANY = new Perm.Builder(BASE_PERM + "break.*").build();
    public static final Perm CAN_BREAK = new Perm.Builder(BASE_PERM + "break").parent(CAN_BREAK_ANY.getName(), true).build();

    public static final Perm BYPASS_LOOT_LIMIT_ANY = new Perm.Builder(BASE_PERM + "bypass.lootlimit.*").build();
    public static final Perm BYPASS_LOOT_LIMIT = new Perm.Builder(BASE_PERM + "bypass.lootlimit").parent(BYPASS_LOOT_LIMIT_ANY.getName(), true).build();
}<commit_msg>Updated to use new permission features of PluginBase.<commit_after>package com.dumptruckman.chestrestock.util;

import com.dumptruckman.minecraft.pluginbase.permission.Perm;

public class Perms {
    
    private static final String BASE_PERM = "chestrestock.";
    
    public static final Perm CMD_CREATE = new Perm.Builder(BASE_PERM + "cmd.create").commandPermission().build();
    public static final Perm CMD_CHECK = new Perm.Builder(BASE_PERM + "cmd.check").commandPermission().build();
    public static final Perm CMD_UPDATE = new Perm.Builder(BASE_PERM + "cmd.update").commandPermission().build();
    public static final Perm CMD_SET = new Perm.Builder(BASE_PERM + "cmd.set").commandPermission().build();
    public static final Perm CMD_RESTOCK = new Perm.Builder(BASE_PERM + "cmd.restock").commandPermission().build();
    public static final Perm CMD_DISABLE = new Perm.Builder(BASE_PERM + "cmd.disable").commandPermission().build();

    public static final Perm CAN_BREAK_ANY = new Perm.Builder(BASE_PERM + "break.*").addToAll().build();
    public static final Perm CAN_BREAK = new Perm.Builder(BASE_PERM + "break").parent(CAN_BREAK_ANY.getName(), true).build();

    public static final Perm BYPASS_LOOT_LIMIT_ANY = new Perm.Builder(BASE_PERM + "bypass.lootlimit.*").addToAll().build();
    public static final Perm BYPASS_LOOT_LIMIT = new Perm.Builder(BASE_PERM + "bypass.lootlimit").parent(BYPASS_LOOT_LIMIT_ANY.getName(), true).build();
}
{'fraction_non_alphanumeric': 0.1232626188734455, 'fraction_numerical': 0.0, 'mean_word_length': 5.037527593818985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6718364', 'n_tokens_mistral': 844, 'n_tokens_neox': 831, 'n_words': 197}