it doesn't separate inventories

Issue #85 resolved
Former user created an issue

Hi, my RC doesn't separate inventories. In config, there's this: table: blocks: rc_blocks inventories: rc_invs

same as for database it's "rc_database" the problem is, there is a rc_database file, bot not rc_block or rc_invs, which I assume is why this happens, but I'm not able to create the ".db" file

Comments (4)

  1. Hans Kurel repo owner

    Hi!

    Could you send me your config? Also, are you sure you don’t have bypass permissions or OP?

    Only one database file (“rc_database.db“) is created, you don’t have to worry about that. “rc_block“ and “rc_invs” are table names inside the database file.

  2. Kuře Kuřecí

    Hi, I’m so sorry for not responding. I can say I fixed the inventories, but now I have a problem with people can still drop items from inventories. They for sure have no bypass permission or OP.
    Here’s the config:

    Check out the default config: https://bitbucket.org/Prunt/restrictedcreative/wiki/Default config

    Config explanation: https://bitbucket.org/Prunt/restrictedcreative/wiki/Home#markdown-header-config-explanation

    database:
    type: sqlite
    username: root
    password: ''
    host: localhost
    port: 3306
    database: rc_database
    ssl: true
    table:
    blocks: rc_blocks
    inventories: rc_invs
    commands:
    rc:
    description: RestrictedCreative main command used for reloading, statistics and
    other.
    usage: '&cCorrect usage: /<command> <reload | block | i-am-sure-i-want-to-delete-all-plugin-data-from-database>'
    aliases:
    - restrictedcreative
    survival:
    description: Enter survival mode.
    usage: '&cCorrect usage: /<command> [player]'
    aliases:
    - gm0
    - gms
    creative:
    description: Enter creative mode.
    usage: '&cCorrect usage: /<command> [player]'
    aliases:
    - gm1
    - gmc
    adventure:
    description: Enter adventure mode.
    usage: '&cCorrect usage: /<command> [player]'
    aliases:
    - gm2
    - gma
    spectator:
    description: Enter spectator mode.
    usage: '&cCorrect usage: /<command> [player]'
    aliases:
    - gm3
    - gmsp
    general:
    disabled-worlds: []
    saving:
    interval: 6000
    inventories:
    enabled: true
    purge:
    survival: 90
    creative: 30
    loading:
    delay-login: true
    use-old-system: false
    creative:
    armor:
    enabled: false
    color: 16711680
    permissions:
    enabled: true
    use-vault: false
    list:
    - prefix.creative
    - prefix.survival
    groups:
    enabled: false
    list:
    - creative
    - -survival
    tracking:
    blocks:
    enabled: true
    exclude: []
    worldedit:
    enabled: false
    extended: false
    inventory:
    enabled: true
    limit:
    regions:
    owner-based:
    enabled: false
    allow-members: false
    whitelist:
    enabled: false
    list:
    - building_competition
    moving:
    enabled: false
    below-y: -1
    above-y: -1
    interact:
    inventories: true
    entities: true
    breeding: true
    item:
    drop: false
    pickup: false
    throw: false
    commands:

    • (.)(buy|sell)(.)
    • (.)(chest)(.)
      combat:
      pvp: true
      pve: true
      creation:
      wither: true
      snow-golem: true
      iron-golem: true
      confiscate:
      invalid-items: true
      middle-click:
      enabled: true
      exclude:

      • PLAYER_HEAD
        items:
        enabled: true
        material:
      • BARRIER
      • CHAIN_COMMAND_BLOCK
      • COMMAND_BLOCK
      • COMMAND_BLOCK_MINECART
      • REPEATING_COMMAND_BLOCK
      • SPAWNER
      • DRAGON_EGG
      • RED_MUSHROOM_BLOCK
      • BROWN_MUSHROOM_BLOCK
      • GRASS_PATH
      • STRUCTURE_BLOCK
      • STRUCTURE_VOID
      • VOID_AIR
        name:
      • Cash
        lore:
      • $
        disable:
        placing:
    • BEDROCK

    • END_PORTAL_FRAME
    • TNT
    • SCAFFOLDING
      breaking:
    • BEDROCK
    • END_PORTAL_FRAME
      interacting:
      in-hand:

      • SPLASH_POTION
      • LINGERING_POTION
      • FLINT_AND_STEEL
      • FIRE_CHARGE
      • EXPERIENCE_BOTTLE
      • ENDER_EYE
      • EGG
      • BONE_MEAL
      • LAVA_BUCKET
      • SHEARS
      • BAT_SPAWN_EGG
      • BLAZE_SPAWN_EGG
      • CAVE_SPIDER_SPAWN_EGG
      • CHICKEN_SPAWN_EGG
      • COD_SPAWN_EGG
      • COW_SPAWN_EGG
      • CREEPER_SPAWN_EGG
      • DOLPHIN_SPAWN_EGG
      • DONKEY_SPAWN_EGG
      • DROWNED_SPAWN_EGG
      • ELDER_GUARDIAN_SPAWN_EGG
      • ENDERMAN_SPAWN_EGG
      • ENDERMITE_SPAWN_EGG
      • EVOKER_SPAWN_EGG
      • GHAST_SPAWN_EGG
      • GUARDIAN_SPAWN_EGG
      • HORSE_SPAWN_EGG
      • HUSK_SPAWN_EGG
      • LLAMA_SPAWN_EGG
      • MAGMA_CUBE_SPAWN_EGG
      • MOOSHROOM_SPAWN_EGG
      • MULE_SPAWN_EGG
      • PARROT_SPAWN_EGG
      • PHANTOM_SPAWN_EGG
      • PIG_SPAWN_EGG
      • POLAR_BEAR_SPAWN_EGG
      • PUFFERFISH_SPAWN_EGG
      • RABBIT_SPAWN_EGG
      • SALMON_SPAWN_EGG
      • SHEEP_SPAWN_EGG
      • SHULKER_SPAWN_EGG
      • SILVERFISH_SPAWN_EGG
      • SKELETON_HORSE_SPAWN_EGG
      • SKELETON_SPAWN_EGG
      • SLIME_SPAWN_EGG
      • SPIDER_SPAWN_EGG
      • SQUID_SPAWN_EGG
      • STRAY_SPAWN_EGG
      • TROPICAL_FISH_SPAWN_EGG
      • TURTLE_SPAWN_EGG
      • VEX_SPAWN_EGG
      • VILLAGER_SPAWN_EGG
      • VINDICATOR_SPAWN_EGG
      • WITCH_SPAWN_EGG
      • WITHER_SKELETON_SPAWN_EGG
      • WOLF_SPAWN_EGG
      • ZOMBIE_HORSE_SPAWN_EGG
      • ZOMBIE_PIGMAN_SPAWN_EGG
      • ZOMBIE_SPAWN_EGG
      • ZOMBIE_VILLAGER_SPAWN_EGG
      • ACACIA_SAPLING
      • BIRCH_SAPLING
      • DARK_OAK_SAPLING
      • JUNGLE_SAPLING
      • OAK_SAPLING
      • SPRUCE_SAPLING
      • CAT_SPAWN_EGG
      • FOX_SPAWN_EGG
      • PANDA_SPAWN_EGG
      • PILLAGER_SPAWN_EGG
      • RAVAGER_SPAWN_EGG
      • TRADER_LLAMA_SPAWN_EGG
      • WANDERING_TRADER_SPAWN_EGG
        on-ground:
      • JUKEBOX
      • FLOWER_POT
      • ACACIA_SIGN
      • BIRCH_SIGN
      • DARK_OAK_SIGN
      • JUNGLE_SIGN
      • OAK_SIGN
      • SPRUCE_SIGN
      • ACACIA_WALL_SIGN
      • BIRCH_WALL_SIGN
      • DARK_OAK_WALL_SIGN
      • JUNGLE_WALL_SIGN
      • OAK_WALL_SIGN
      • SPRUCE_WALL_SIGN
      • CAMPFIRE

  3. Log in to comment