エンダーパールのようなクールダウンエフェクト?を特定のアイテムに付けたい

Server 1.20.1 Skript 2.7.0
No description
4 Replies
yukkina
yukkina9mo ago
可能ではあるとだけお伝え
わし
わし9mo ago
Skript Hub - Documentation
Item Cooldown (Expression) - SkBee
Get/set a cooldown on the specified material for a certain timespan. Cooldowns are used by the server for items such as ender pearls and shields to prevent them from being used repeatedly. Note that cooldowns will not by themselves stop an item from being used for attacking. This is per player and per MATERIAL, not per actual item.
わし
わし9mo ago
SkBee 1.17.0~
えむけー
えむけー9mo ago
出来ました!ありがとうございます!
Want results from more Discord servers?
Add your server
More Posts
OneBlockの用にランダムなブロックを置きたいがリセットコマンドの方だけうまくいく!?``` on break: set {_loc} to location(0.5,64.5,0.5,world "oneblock") if event-block's locatioskript Ver.2.7.0の「give」で与えるアイテムをエンチャント付与だけではなく名前と説明文も変えたいexecute console command "ゲーム内コマンド"で出来るとの情報を得たのでしてみたところ名前等の変更コマンドに対応してなく、giveコマンドを調べたのですが、エンチャント付与以外見銃のサンプルコードが欲しいこれまで矢の射撃速度を上げて疑似的な銃として使用していましたが、エフェクトを射線につけることができなくて他の方法で弾丸を射撃できるようにしたいです。どなたかサンプルコードをください Skript 2.リスト変数にテキストを入れたい```command /setname [<text>]: permission: op permission message: &cあなたは運営ではありません aliaseson console log ではspawnが使えない!?**コード**``` # location指定を関数にしてみた # 動作自体は正常 function lobbyLocation() :: location: set {_loc} to loNPCに防具を持ってクリックしたときに装備されないようにしたい``` Citizen Right Click: if npc is named "test": cancel event send "a" ``` みたいな感skript作動しないSkriptは動かないです Spigot 1.17.1 Skript 2.7.0特定のtagがついている人だけチェストが明けれなくなるやつ```on right click: if event-entity is chest named "ガチャ": if player is has tag "oni": UUIDから名前を取りたいランキングを作りたくて今までUUIDの変数を使っていたのでUUIDからプレイヤーの名前をとれますかね?インベントリに入っているアイテムの説明にある数字が読み込めない``` if name of current inventory contain "&7&l修復": cancel event if event-inventory i