Помогите Запрет на создание магазинов

Статус
Закрыто для дальнейших ответов.

valexv14

Старожил
Пользователь
Баллы
123
Имя в Minecraft
valexv12
Всем привет. У меня на днях вопрос появился. Дело в том, что все игроки почему-то могут создавать магазины. (Плагин ChestShop). А я хочу чтобы, могли только VIP, например.
Вот эти permissions у простых игроков:
- ChestShop.shop.sell
- ChestShop.shop.buy
А эти у VIP:
- ChestShop.shop.create
Но создавать магазины могут все... Пожалуйста помогите, что за дела?
 
Весь permissions,и Config.yml Честшопа кинь

config ChestShop:
PREFERRED_ECONOMY_PLUGIN: ""
#(When not using Vault) Preferred economy plugin to use (iConomy/BOSEconomy/Essentials).

SHOP_INTERACTION_INTERVAL: 250
#(In 1/1000th of a second) How often can a player use the shop sign?
IGNORE_CREATIVE_MODE: true
#Do you want to allow using shops to people in creative mode?
REVERSE_BUTTONS: false
#If true, people will buy with left-click and sell with right-click.
SHIFT_SELLS_IN_STACKS: false
#If true, people will be able to buy/sell in 64 stacks while holding the crouch button.
SHIFT_ALLOWS: "ALL"
#What can you do by clicking shift with SHIFT_SELLS_IN_STACKS turned on? (ALL/BUY/SELL)
ALLOW_SIGN_CHEST_OPEN: true
#Can shop's chest be opened by owner with right-clicking a shop's sign?
ALLOW_LEFT_CLICK_DESTROYING: true
#If true, when you left-click your own shop sign you won't open chest's inventory, but instead you will start destroying the sign.

REMOVE_EMPTY_SHOPS: false
#If true, if the shop is empty, the sign is destroyed and put into the chest, so the shop isn't usable anymore.
REMOVE_EMPTY_CHESTS: false
#If true, if the REMOVE_EMPTY_SHOPS option is turned on, the chest is also destroyed.

ADMIN_SHOP_NAME: "Admin Shop"
#First line of your Admin Shop's sign should look like this:
SERVER_ECONOMY_ACCOUNT: ""
#The economy account which Admin Shops should use and to which all taxes will go
TAX_AMOUNT: 0
#Percent of the price that should go to the server's account. (100 = 100 percent)
SERVER_TAX_AMOUNT: 0
#Percent of the price that should go to the server's account when buying from an Admin Shop.
SHOP_CREATION_PRICE: 0.0
#Amount of money player must pay to create a shop
SHOP_REFUND_PRICE: 0.0
#How much money do you get back when destroying a sign?

BLOCK_SHOPS_WITH_SELL_PRICE_HIGHER_THAN_BUY_PRICE: true
#Should we block shops that sell things for more than they buy? (This prevents newbies from creating shops that would be exploited)

ALLOW_MULTIPLE_SHOPS_AT_ONE_BLOCK: false
#Do you want to allow other players to build a shop on a block where there's one already?
ALLOW_PARTIAL_TRANSACTIONS: true
#Can shops be used even when the seller doesn't have enough items? (The price will be scaled adequatly to the item amount)

SHOW_MESSAGE_OUT_OF_STOCK: true
#Do you want to show "Out of stock" messages?
SHOW_TRANSACTION_INFORMATION_CLIENT: true
#Do you want to show "You bought/sold... " messages?
SHOW_TRANSACTION_INFORMATION_OWNER: true
#Do you want to show "Somebody bought/sold... " messages?

LOG_TO_FILE: false
#If true, plugin will log transactions in its own file
LOG_TO_CONSOLE: true
#Do you want ChestShop's messages to show up in console?
LOG_TO_DATABASE: false
#If true, plugin will log transactions in EBean database
RECORD_TIME_TO_LIVE: 600
#How long should transaction information be stored in the database (in seconds, -1 means forever)?
STACK_TO_64: false
#Do you want to stack all items up to 64 item stacks?
USE_BUILT_IN_PROTECTION: true
#Do you want to use built-in protection against chest destruction?
STICK_SIGNS_TO_CHESTS: false
#Do you want to have shop signs "stick" to chests?
TURN_OFF_DEFAULT_PROTECTION_WHEN_PROTECTED_EXTERNALLY: false
#EXPERIMENTAL: Do you want to turn off the default protection when another plugin is protecting the block? (Will leave the chest visually open - CraftBukkit bug!)
TURN_OFF_SIGN_PROTECTION: false
#Do you want to turn off the default sign protection? Warning! Other players will be able to destroy other people's shops!
PROTECT_CHEST_WITH_LWC: false
#Do you want to protect shop chests with LWC?
PROTECT_SIGN_WITH_LWC: false
#Do you want to protect shop signs with LWC?

GENERATE_STATISTICS_PAGE: false
#If true, plugin will generate shop statistics webpage.
STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
#Where should your generated website be saved?
STATISTICS_PAGE_GENERATION_INTERVAL: 60
#How often should the website be generated?

TOWNY_INTEGRATION: false
#Do you want to only let people build inside shop plots?
TOWNY_SHOPS_FOR_OWNERS_ONLY: true
#If true, only plot owners are able to build inside a shop plot. If false, every town's resident is able to build there.

WORLDGUARD_INTEGRATION: false
#Do you want to only let people build inside regions?
WORLDGUARD_USE_FLAG: true
#Do you want to only let poeple build inside region flagged by doing /region regionName flag chestshop allow?
WORLDGUARD_USE_PROTECTION: false
#Do you want ChestShop to respect WorldGuard's chest protection?

HEROES_EXP: 100.0
#How much Heroes exp should people get for creating a ChestShop?

Permissions:
Player:
default: true
permissions:
- essentials.time
- sofa.sit
- worldguard.region.removeowner.own.*
- worldguard.region.addowner.own.*
- creativegates.use
- chatguard.ignoreflood
- essentials.chat.shout
- essentials.warps.*
- essentials.warp
- sg.arena.join
- sg.arena.forcestart
- sg.lobby.join
- sg.arena.spectate
- sg.arena.vote
- sg.arena.join.*
- sg.arena.join.1
- essentials.afk
- paintball.general
- essentials.list
- essentials.me
- essentials.msg
- essentials.spawn
- essentials.tpa
- essentials.tpaccept
- essentials.tpdeny
- modifyworld.*
- lwc.protect
- lwc.create
- lwc.create.private
- lwc.info
- lwc.remove
- worldguard.region.define
- worldguard.region.remove.own.*
- worldguard.region.redefine.own
- worldguard.region.redefine.member
- worldguard.region.redefine
- worldguard.region.claim
- worldguard.region.select.own.
- worldguard.region.select.member.
- worldguard.region.select.*
- worldedit.selection.pos
- worldedit.wand
- worldedit.selection.hpos
- worldedit.wand.toggle
- worldedit.selection.contract
- worldedit.selection.expand
- arena.spleef.join
- arena.paintball.join
- chairs.sit
- citizens.npc.*
- worldedit.selection.*
- craftbook.mech.bridge.use
- craftbook.mech.door.use
- craftbook.mech.elevator.use
- craftbook.mech.gate.use
- craftbook.mech.light-switch.use
- craftbook.mech.bookshelf.use
- worldguard.region.list.own
- pvp.deaths
- pvp.kills
- pvp.leadkills
- myhelppages.help
- parkour.use
- arena.arena.join
- essentials.mail
- essentials.motd
- essentials.mail.send
- arena.Futbol.join
- essentials.signs.use.*
- essentials.delhome
- essentials.home
- essentials.sethome
- essentials.sethome.multiple
- essentials.sethome.multiple.default
- iConomy.holdings
- iConomy.payment
- ChestShop.shop.sell
- ChestShop.shop.buy
prefix: '&9[Player]&f '
VIP:
default: false
inheritance:
- Player
permissions:
- essentials.recipe
- essentials.workbench
- essentials.hat
- worldguard.region.flag.flags.*
- worldguard.region.flag.regions.own.*
- worldguard.flag
- essentials.weather
- essentials.joinfullserver
- essentials.teleport.timer.bypass
- essentials.kits.vip
- essentials.clear
- essentials.clearinventory
- worldguard.region.claim
- worldguard.region.addowner.*
- worldguard.region.removeowner.*
- worldguard.region.list.own
- worldguard.region.remove.own.*
- ChestShop.shop.create
- craftbook.mech.gate.use
- craftbook.mech.bridge.use
- craftbook.mech.bookshelf.use
- clearworld.antidel
- essentials.kit.vip
- essentials.kit
- essentials.sethome.multiple
- essentials.sethome.multiple.vip
prefix: '&5[VIP]&f '
 
В plugin.yml плагина 49 строка:
Код:
ChestShop.shop.create.buy: true
ChestShop.shop.create.sell: true
Заменить на:
Код:
ChestShop.shop.create.buy: false
ChestShop.shop.create.sell: false
Випам выдать права:
Код:
- ChestShop.shop.create.buy
- ChestShop.shop.create.sell
 
В plugin.yml плагина 49 строка:
Код:
ChestShop.shop.create.buy: true
ChestShop.shop.create.sell: true
Заменить на:
Код:
ChestShop.shop.create.buy: false
ChestShop.shop.create.sell: false
Випам выдать права:
Код:
- ChestShop.shop.create.buy
- ChestShop.shop.create.sell

Не помогло.
Выдай простым игрокам отрицательный перм: - -chestshop.shop.create.*

Помогло. Спасибо!
 
Статус
Закрыто для дальнейших ответов.
Назад
Верх