Помогите При переключении режима игры (креатива, выживания) изменяются вещи.(Плагин CreativeControl)

  • Автор темы Автор темы Fedy_
  • Дата начала Дата начала

Fedy_

Активный участник
Пользователь
Баллы
76
Ник в Minecraft
Fedy_
Как сделать так чтобы при переключении режима игры вещи не менялись?
 
Конфиг плагина кинь.

Код:
# +----------------------------------------------------+
# <                  CreativeControl                   >
# <                     by KubqoA                      >
# +----------------------------------------------------+

# Put here all the commands you want to
# disable in creative! If you want to
# enable these commands for specific players
# give them permission cc.cmd./command_here
# (e.g. cc.cmd./command1)
disabled-commands:
- /command1
- /command2

# Here you can define which gamemodes you
# want to disable!
# You can also create node disabled-gamemodes-worldname
# and specify disabled gamemodes for each world.
disabled-gamemodes:
- ADVENTURE
- SPECTATOR

# Here you can put blocks or items which you
# want to disable in creative.
# List of blocks you can disable can be
# found on this website
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Please pay attention to put the values
# correctly with uppercase letters.
# otherwise this feature won''t work
# and may cause errors!
disabled-items:
- TNT
- BEDROCK
- GOLDEN_APPLE:1
- CHEST_MINECART

# Here you can define worlds in which should
# be the functions of this plugin disabled!
disabled-worlds:
- world1
- world2

# Set to true if you want to prevent
# creative placed spawners from spawning mobs.
disable-creative-spawners: true

# Here you can define which permissions will be
# taken when switched to creative mode. e.g. essentials.tpa
remove-permissions:
- permissionnode1
- permission.node.2

# Here you can define which permissions will be
# added when switched to creative mode. e.g. essentials.tpa
add-permissions:
- permissionnode1
- permission.node.2

# Here you can set if you want to use
# sqlite DB or mysql DB
db-type: sqlite

# Set MySQL address here
# (only when db type set to mysql)
db-host: localhost

# Set MySQL server port here
# (only when db type set to mysql)
db-port: '3306'

# Set the user login for mysql database
# (only when db type set to mysql
db-user: user

# Set user password
# (only when db type set to mysql)
db-password: password

# Set MySQL database name
# (only when db type set to mysql)
db-database: database

# Set tables prefix here
# (only when db type set to mysql)
db-prefix: cc_

# Set message prefix here (supports colors)
message-prefix: '&3[&a&lEmerald&B&lWorld&3]'

# Set to true to enable inventory switching
# Set to false to disable it
inventory-switching: true

# Set to true to enable automatic update checking
# Set to false to disable it
check-for-updates: true

# Here you can define time in seconds for
# which will be all messages in cooldown
# before sending them again to the player.
# Set to 0 to disable.
message-cooldown: 2

# Here you can define after how many creative
# placed blocks should they be written to
# database. If this limit is not reached
# they will be logged after 5 minutes.
logging-interval: 10

# Place here blocks you want to be
# excluded from being tracked when
# placed in creative.
excluded-blocks:
- DIRT
- SAND

# Set how many blocks can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
block-memory-limit: 10000

# Set how many vehicles can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
vehicle-memory-limit: 10000

# Set how many hangings can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
hanging-memory-limit: 10000

# Remove or comment out specific
# features to disable them.
enabled-features:
- BlockBreak
- BlockFall
- BlockPlace
- BlockExplode
- BedrockBreak
- HangingBreak
- HangingPlace
- VehicleCreate
- VehicleDestroy
- VehicleMove
- PlayerArmorStandManipulate
- PlayerCommandRestrict
- PlayerBannedItemFromInventory
- PlayerDamageEntity
- PlayerDeathNoDrop
- PlayerDropItem
- PlayerGamemodeChange
- PlayerJoin
- PlayerOpenRestrictedInventory
- PlayerPickupItem
- PlayerQuit
- SpawnerSpawnEntity
- CreatureSpawn
- PistonExtend
- PistonRetract
 
Код:
# +----------------------------------------------------+
# <                  CreativeControl                   >
# <                     by KubqoA                      >
# +----------------------------------------------------+

# Put here all the commands you want to
# disable in creative! If you want to
# enable these commands for specific players
# give them permission cc.cmd./command_here
# (e.g. cc.cmd./command1)
disabled-commands:
- /command1
- /command2

# Here you can define which gamemodes you
# want to disable!
# You can also create node disabled-gamemodes-worldname
# and specify disabled gamemodes for each world.
disabled-gamemodes:
- ADVENTURE
- SPECTATOR

# Here you can put blocks or items which you
# want to disable in creative.
# List of blocks you can disable can be
# found on this website
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Please pay attention to put the values
# correctly with uppercase letters.
# otherwise this feature won''t work
# and may cause errors!
disabled-items:
- TNT
- BEDROCK
- GOLDEN_APPLE:1
- CHEST_MINECART

# Here you can define worlds in which should
# be the functions of this plugin disabled!
disabled-worlds:
- world1
- world2

# Set to true if you want to prevent
# creative placed spawners from spawning mobs.
disable-creative-spawners: true

# Here you can define which permissions will be
# taken when switched to creative mode. e.g. essentials.tpa
remove-permissions:
- permissionnode1
- permission.node.2

# Here you can define which permissions will be
# added when switched to creative mode. e.g. essentials.tpa
add-permissions:
- permissionnode1
- permission.node.2

# Here you can set if you want to use
# sqlite DB or mysql DB
db-type: sqlite

# Set MySQL address here
# (only when db type set to mysql)
db-host: localhost

# Set MySQL server port here
# (only when db type set to mysql)
db-port: '3306'

# Set the user login for mysql database
# (only when db type set to mysql
db-user: user

# Set user password
# (only when db type set to mysql)
db-password: password

# Set MySQL database name
# (only when db type set to mysql)
db-database: database

# Set tables prefix here
# (only when db type set to mysql)
db-prefix: cc_

# Set message prefix here (supports colors)
message-prefix: '&3[&a&lEmerald&B&lWorld&3]'

# Set to true to enable inventory switching
# Set to false to disable it
inventory-switching: true

# Set to true to enable automatic update checking
# Set to false to disable it
check-for-updates: true

# Here you can define time in seconds for
# which will be all messages in cooldown
# before sending them again to the player.
# Set to 0 to disable.
message-cooldown: 2

# Here you can define after how many creative
# placed blocks should they be written to
# database. If this limit is not reached
# they will be logged after 5 minutes.
logging-interval: 10

# Place here blocks you want to be
# excluded from being tracked when
# placed in creative.
excluded-blocks:
- DIRT
- SAND

# Set how many blocks can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
block-memory-limit: 10000

# Set how many vehicles can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
vehicle-memory-limit: 10000

# Set how many hangings can be stored
# in memory and the others will
# be stored in database.
# set to 0 to disable this memory
# set to -1 to use only memory.
hanging-memory-limit: 10000

# Remove or comment out specific
# features to disable them.
enabled-features:
- BlockBreak
- BlockFall
- BlockPlace
- BlockExplode
- BedrockBreak
- HangingBreak
- HangingPlace
- VehicleCreate
- VehicleDestroy
- VehicleMove
- PlayerArmorStandManipulate
- PlayerCommandRestrict
- PlayerBannedItemFromInventory
- PlayerDamageEntity
- PlayerDeathNoDrop
- PlayerDropItem
- PlayerGamemodeChange
- PlayerJoin
- PlayerOpenRestrictedInventory
- PlayerPickupItem
- PlayerQuit
- SpawnerSpawnEntity
- CreatureSpawn
- PistonExtend
- PistonRetract
А вы что именно хотите сделать-то? Плагин должен работать.
 
Смотрите, когда я меняешь режимы игры (креатив выживание) то у тебя изменяются предметы
Так всё и должно быть, в этом-то и суть плагина.
А изменить нельзя. Я так понял вам надо сделать так, что-б блокировалась лава и т.п. в креативе.
То тогда используйте вот этот плагин: http://dev.bukkit.org/bukkit-plugins/banitem/
 
inventory-switching: false, мне кажется, что это строчку можно найти за пол минуты даже с минимальным знанием английского 🙂
 
inventory-switching: false, мне кажется, что это строчку можно найти за пол минуты даже с минимальным знанием английского 🙂
Ты умрёшь в муках. Ннкропостерство на этом форуме не приветствуется и осуждается (c) Dereku
 
Ты умрёшь в муках. Ннкропостерство на этом форуме не приветствуется и осуждается (c) Dereku
Два месяца прошло, всего лишь. Видел топики, в которых ТСы спустя год поднимали тему, потому что им никто так и не ответил -_-
 
Назад
Верх Низ