Stránka 1 z 1

Hráči s creativem - killovaní a vyhazování věcí

Napsal: 15 črc 2013, 11:21
od panChemicky
Server: 93.91.250.136:27051

Zdravím. Mám na serveru možnost, že někteří hráčí mohou mít creative. Problém je, že tito hráči mohou killovat jiné hráče právě v creativu. Také jsme si všimli, že mohou vyhazovat věci pomocí klávesy Q a možná mohou ještě další věci, na které jsme nepřišli.

Mám na to plugin CreativeControl a nastavil jsem tam vše, co jsem "pochopil" a když jsem to zkoušel, tak mi to vždy fungovalo. Nevim jestli se to vždy nějak nevyresetuje nebo tomu nebraní nějaký plugin.

Potřeboval bych pomoc s nastavením toho pluginu a nebo pokud znáte nějaký jiný plugin, tak bych ho i klidně vyměnil.

Nastavený settings
Spoiler: zobrazit

Kód: Vybrat vše

Database:
  ## MySQL, the database type, can be SQLite, MySQL or H2
  Type: SQLite
  ## host, the MySQL host name
  host: localhost
  ## port, the MySQL port
  port: 3306
  ## user, the MySQL user name
  user: root
  ## pass, the MySQL password, '' if none.
  pass: 123
  ## database, the MySQL database to be used by this plugin
  database: minecraft
  ## prefix, the prefix used to create the tables in the sql database
  prefix: crcr_

## This section will define which group the player will be added when he changes his gamemode.
Permissions:
  ## Enabled, if true, this system will be enabled, in way to use this, you must set it to true.
  Enabled: true
  ## Move, if true, the player will be removed from his original group and added to the creative group, by default the player is just added to the new group.
  Move: true
  ## MoveFrom, the group that will be affected when the player change his gamemode, the player will only be moved if he is a member of this group.
  MoveFrom: MembersSurvival
  ## MoveTo, the group that the player will be added when he change his gamemode to creative
  MoveTo: MembersCreative
  ## OpHasPerm, if true, ops will have all the permissions and will not be checked by your permissions plugin
  OpHasPerm: false

Queue:
  ## Threads, the number of threads to be use to process the database
  Threads: 1
  ## Speed, the speed of the queue, if your server is taking too long to shutdown, increase this option.
  Speed: 0.1

Cache:
  ## MaxCapacity, the maximum cache capacity, higher this value is, better will be the performance, but also the memory usage will increase.
  MaxCapacity: 15000
  ## PreCache, the amount of items to be cached on startup, if you have a big database, this may increase the load time.
  PreCache: 10000

Configurations:
  ## Single, if true, only the world.yml file will be used, other ones will be ignored.
  Single: false
  ## Conflict, if true, if required, some functions of this plugin will be automatically disabled to avoid conflict.
  Conflict: true
  ## FriendSystem, if true, the friend system will be enabled, this may take a bit of resources, just a bit.
  FriendSystem: false

Updater:
  ## Check for updates?
  Enabled: true

Selection:
  ## UseWorldEdit, if true, worldedit will be used to make selections. Otherwise the tool defined below will be used.
  UseWorldEdit: true
  ## The Item ID used to select regions, if UseWorldEdit is false
  Tool: 369

Events:
  ## Use PlayerMoveEvent? This may take a lot of resources on large servers, but is required to Creative/Survival regions work.
  PlayerMove: false
  ## Enable MiscProtections? Not recommended to use, I'll probably remove it on future releases.
  MiscProtection: false

PlayerData:
  ## Inventory, if true, players will have an inventory to survival, other to creative an other to adventurer
  Inventory: true
  ## Status, if true, will save the player survival status [e.g Health, Food, etc]
  Status: true
  ## Teleport, if true, the player will be teleported to the floor on login if needed
  Teleport: false
  ## SetSurvival, if true, the player will be set to survival on login (ATTENTTION: THIS MAY GLITCH WITH AUTH PLUGINS)
  SetSurvival: false

## This section will define the armor to set on every creative player, for advanced options, while wearing the armor type /cc set armor.
CreativeArmor:
  ## Helmet, the player helmet
  Helmet: 0
  ## Chestplate, the player chestplate
  Chestplate: 0
  ## Leggings, the player leggings
  Leggings: 0
  ## Boots, the player boots
  Boots: 0

Communicator:
  ## Quiet, if true, any messages will be displayed
  Quiet: false

Debug:
  ## Console, if true, debug messages will be displayed in the console
  Console: false
  ## Stack, if true, common errors will be printed by full [leave it true C:]
  Stack: true

# End of the file -->


A tady je složka world.yml
Spoiler: zobrazit

Kód: Vybrat vše

World:
  ## GameMode, the main gamemode of this world, options are SURVIVAL, CREATIVE or ADVENTURE.
  GameMode: SURVIVAL
  ## Exclude, if true, this plugin will ignore this world, it means that any protections will be effective in this world.
  Exclude: false
  ## ChangeGameMode, if true, this plugin will handle the gamemode per world, the option GameMode will be used.
  ChangeGameMode: false

BlackList:
  ## Commands, list here all commands to disallow creative players to use.
  Commands: /buy, /sell, /logout
  ## SurvivalCommands, list here, all commands to disallow survival players to use.
  SurvivalCommands: []
  ## BlockPlace, list here, all block ids that creative players will be unable to place.
  BlockPlace: 79:0, 7, 8, 9, 10, 11, 14, 15, 16, 41, 42, 46, 51, 52, 56, 57, 62, 90, 120, 122, 133, 137, 154, 264, 265,266, 322, 322:1, 326, 327, 332, 344, 383:50, 383:51, 383:52, 383:54, 383:55, 383:56, 383:57, 383:58, 383:59, 383:60, 383:61, 38362, 383:65, 383:66, 383:90, 383:91, 383:92, 383:93, 383:94, 383:95, 383:96, 383:98, 383:100, 384, 388, 397:1, 399, 403, 407, 408
  ## BlockBreak, list here, all block ids that creative players will be unable to break.
  BlockBreak: []
  ## ItemUse, list here, all block/item ids that creative players will be unable to use, this means right and left click.
  ItemUse: 389:0
  ## ItemInteract, list here, all block/item ids that creative players will be unable to interact with, this means right click only.
  ItemInteract: 84,
  ## Inventory, list here, all block/item ids that will be automatically removed from creative players inventories.
  Inventory:
  ## SignText, list here, the line of all signs that creative players will be unable to interact with.
  ## Obs: DONT INCLUDE [] or color codes, and use _ for spaces. This option does not work well, is recomended to use the permission system.
  SignText: buy, sell, trade

## To any option in "MiscProtection" Works, Events.MiscProtection has to be "true" in settings.yml.
MiscProtection:
  ## NoTNTExplosion, if true, TNT placed by creative players will not explode.
  NoTNTExplosion: false
  ## IceMelt, if true, ICE placed by creative players will not melt [CPU++]
  IceMelt: false
  ## LiquidControl, if true, liquids placed by creative players will not flow [CPU++] [BUGGY]
  LiquidControl: false
  ## Fire, if true, blocks placed by creative players will not burn. [CPU+]
  Fire: false

BlockProtection:
  ## WorldEdit, if true, blocks created by WorldEdit will not drop when breaked.
  WorldEdit: false
  ## OwnBlocks, if true, blocks placed by creative players will have a ownship system, only the owner or properly allowed people will be able to break it. The block still protected with NoDrop.
  OwnBlocks: false
  ## NoDrop, if true, blocks placed by creative players will not drop when breaked
  NoDrop: true
  ## Explosions, if true, creative blocks will be protected against explosions. [REQUIRE NoDrop or OwnBlocks Activated]
  Explosions: false
  ## CreativeOnly, if true, only creative players area ble to break creative blocks. [REQUIRE NoDrop or OwnBlocks Activated]
  CreativeOnly: false
  ## Pistons, if true, blocks placed by creative players will not be pushed/pulled by pistons [REQUIRE NoDrop or OwnBlocks Activated]
  Pistons: false
  ## Physics, if true, blocks placed by creative players will not fall in some cases, it is buggy, bukkit does not have an api method for that yet. [REQUIRE NoDrop or OwnBlocks Activated]
  Physics: false
  ## BlockAgainst, if true, the OwnBlock system will check if the block against the block placed is protected.
  BlockAgainst: false
  ## CheckAttached, if true, attached blocks like torches will be protected by the NoDrop or OwnBlocks system.
  CheckAttached: false
  ## inverted, if true, the exclude list will work as a include list, so, the block will only be protected if its id is listed here.
  inverted: false
  ## exclude, list here, all block ids to be ignored by the NoDrop/OwnBlocks system, more blocks you list here, better will be the performance.
  exclude: 0, 8, 9, 10, 11

Preventions:
  ##ItemDrop, if true, creative players will be unable to drop items
  ItemDrop: false
  ##ItemPickup, if true, creative players will be unable to pickup items
  ItemPickup: false
  ## PvP, if true, creative players will be unable to attack other players
  PvP: false
  ## Mobs, if true, creative players will be unable to attack mobs
  Mobs: false
  ## Eggs, if true, creative players will be unable to use Monster and Chicken eggs.
  Eggs: false
  ## Target, if true, creative players will not be target by mobs [CPU+]
  Target: false
  ## MobsDrop, if true, when a creative player kills a mob, no drop or exp will be given.
  MobsDrop: true
  ## IronGolem, if true, prevent creative players from creating Iron Golems
  IronGolem: true
  ## SnowGolem, if true, prevent creative players from creating Snow Golems
  SnowGolem: true
  ## Wither, if true, prevent creative players from creating Wither
  Wither: false
  ## ClearDrops, if true, when a creative player die, the drops will be removed
  ClearDrops: true
  ## Enchantments, if true, creative players will be unable to enchant items.
  Enchantments: false
  ## MineCartStorage, if true, creative players will be unable to use chest/furnaces in minecarts
  MineCartStorage: false
  ## BreakBedRock, if true, creative players will be unable to break the 'bottom' of the world
  BreakBedRock: false
  ## InvInteract, if true, creative players will be unable to interact with any type of inventory but the creative and creative quickbar.
  InvInteract: true
  ## Bonemeal, if true, creative players will be unable to use Bone meal on tress, there is no api methods for that yet, might be a litle buggy.
  Bonemeal: true
  ## InteractVillagers, if true, creative players will be unable to interact with villagers.
  InteractVillagers: false
  ## PotionSplash, if true, creative players will be unable to use potions
  PotionSplash: false
  ## ItemFrame, if true, creative players will be unable to use itemframes
  ItemFrame: false
  ## VehicleDrop, if trus, this plugin will try to prevent minecarts and boats created by creative player to drop!
  VehicleDrop: true
  ## VehicleLimit, set a limit of how much vehicles a creative player can create without destroying the old one.
  VehicleLimit: -1
  ## StackLimit, set the limit of amount per item that a creative player can have.
  StackLimit: 1
  ## InventoryOpen, if true, creative players will be unable to open any inventory apart from the creative inventory.
  InventoryOpen: false

# End of the file -->

Re: Hráči s creativem - killovaní a vyhazování věcí

Napsal: 15 črc 2013, 12:46
od nejento
Ve world.yml si právě nastav to, co potřebuješ jim zakázat.

Kód: Vybrat vše

  ##ItemDrop, if true, creative players will be unable to drop items
  ItemDrop: false
  ##ItemPickup, if true, creative players will be unable to pickup items
  ItemPickup: false


True znamená, že to bude zakazovat a false, že to právě zakazovat nebude.

Re: Hráči s creativem - killovaní a vyhazování věcí

Napsal: 15 črc 2013, 13:29
od panChemicky
Takže tam musím dát true..ok diky

Edit: funguje perfektně, děkuji ti, karmu + a mužete /lock

//LOCK