Syzntex
Birisi mi Spawnlandı?
Selam, yaşadığım bir sorunla alakalı yardıma ihtiyacım var. Skript plugini ile oyunculara Executableitems'da ayarladığım malzemeleri vermeyi planlıyordum. Malzemeden kastım aslında coinler. Shopkeepers ile eşya takası yapabilmeleri için oluşturdum. Ancak şöyle bir sorun var, oyuncuya bu coinlerden verirken nedense ya birden fazla veriyor ya da bir tane veriyor ama konsolda 3 kez bunu gösteriyor. Ayrıca oyuncular kendi envanterlerinde bu coinleri dupe yaparak çoğalttıklarını söylüyorlar, belki IllegalStacks plugininden dolayı böyle oluyor tam bilemiyorum. Yardımcı olabilirseniz çok sevinirim.
Skript
Konsolda böyle görünüyor
Executableitems'daki Coin
Skript
on mine:
chance of 1%:
set {_MineRewards} to a random integer between 1 and 3
if {_MineRewards} is 1:
execute console command "ei give %player% coin"
stop
if {_MineRewards} is 2:
execute console command "give %player% bone_meal 1"
stop
if {_MineRewards} is 3:
execute console command "give %player% coal 1"
stop
Konsolda böyle görünüyor
Hatta bu niye böyle hiç anlamadım[12:52:36] [Server thread/INFO]: ExecutableItems EI DROPPED: x1 coin by PLAYER at -717 71 -885 in world
[12:52:36] [Server thread/INFO]: ExecutableItems EI SPAWNED: x1 coin at -718 71 -884 in world
[12:52:36] [Server thread/INFO]: ExecutableItems EI SPAWNED: x1 coin at -718 71 -884 in world
[21:57:01] [Server thread/INFO]: ExecutableItems EI DROPPED: x7 coin by PLAYER at -1174 -37 -1116 in world
[21:57:01] [Server thread/INFO]: ExecutableItems EI SPAWNED: x7 coin at -1174 -36 -1116 in world
[21:57:01] [Server thread/INFO]: ExecutableItems EI SPAWNED: x7 coin at -1174 -36 -1116 in world
Executableitems'daki Coin
name: '&fCoin'
lore:
- '/warp market'
material: sugar
glow: true
disableStack: false
keepItemOnDeath: false
canBeUsedOnlyByTheOwner: false
storeItemInfo: false
unbreakable: false
usage: 0
usageLimit: -1
cancelEventIfNoPerm: false
cancelEventIfNotOwner: false
disabledWorlds: []
config_5: true
config_update: false
onlyOwnerBlackListedActivators: []
recognitions: []
dropOptions:
glowDrop: false
glowDropColor: YELLOW
displayNameDrop: false
hiders:
hideEnchantments: true
hideUnbreakable: false
hideAttributes: true
hidePotionEffects: false
hideUsage: false
hideDestroys: false
hidePlacedOn: false
hideDye: false
hideArmorTrim: false
enchantments: {}
giveFirstJoin:
giveFirstJoin: false
giveFirstJoinAmount: 1
giveFirstJoinSlot: 0
restrictions:
cancel-item-drop: false
cancel-anvil: true
cancel-item-place: true
cancel-item-craft: true
cancel-rename-anvil: true
cancel-dispenser: true
cancel-dropper: true
variables: {}
displayConditions:
playerConditions: {}
worldConditions: {}
itemConditions: {}
placeholdersConditions: {}
enableFeature: false
attributes: {}
activators: {}
