#(ama) flag update
51 messages · Page 1 of 1 (latest)
(ama) flag update
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!vague
Your question is too vague to be able to answer well.
If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.
For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.
See also !xyproblem
i displayed a server.flag on an item in the lore. if i increase the flag the lore doesnt change. how can i update the lore for this item
it's vague in the sense that i can give you more than three answers right now, because it's not clear what you're working with
the give/take commands can replace items just by taking them and giving it back to them, modified
!command inventory
item
inventory [open/close/copy/move/swap/set/keep/exclude/fill/clear/update/adjust <mechanism>:<value>/flag <name>(:<action>)[:<value>] (expire:<time>)] (destination:<inventory>) (origin:<inventory>/<item>|...) (slot:<slot>)
Edits the inventory of a player, NPC, or chest.
Use this command to edit the state of inventories.
By default, the destination inventory is the current attached player's inventory.
If you are copying, swapping, removing from (including via "keep" and "exclude"), adding to, moving, or filling inventories,
you'll need both destination and origin inventories.
Origin inventories may be specified as a list of ItemTags, but destinations must be actual InventoryTags.
Using "open", "clear", or "update" only require a destination.
"Update" also req...
!guide adjust
!guide adjust command is not for items
View the guide page 'Common Mistakes - The Adjust Command Is Not For Items/Materials/Etc.' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#the-adjust-command-is-not-for-items-materials-etc
this writeup elaborates the process of adjusting an existing item without removing it
via the inventory adjust command
!object item
An ItemTag represents a holdable item generically.
ItemTags are temporary objects, to actually modify an item in an inventory you must add the item into that inventory.
ItemTags do NOT remember where they came from. If you read an item from an inventory, changing it
does not change the original item in the original inventory. You must set it back in.
Find a list of valid materials at:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Note that some materials on tha...
i
ElementTag
FlaggableObject, PropertyHolderObject
The identity format for items is the basic material type name, or an item script name. Other data is specified in properties.
For example, 'i@stick'.
"PropertyHolderObject" is a pseudo-ObjectType that represents any object that holds properties.
none
None
N/A
Returns a copy of the object with mechanism adjustments applied.
Be careful with dynamic inputs, they may break from escaping flaws.
Consider using !tag PropertyHolderObject.with_single instead.
properties
PropertyHolderObject
any of those tags are available for either verifying or parsing data for a tag
if i were to continue, i'd overwhelm the average user with too much information
you haven't given us context, what you tried, or if you have tried: what you expected to happen, and what actually happened
!info haste debug
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
Content of Denizen Script Paste #105412: Unnamed Denizen Script Paste... pasted 2023/01/15 07:07:47 UTC-08:00, Paste length: 1289 characters across 46 lines, Content: skills_admin_gui_open_command: type: command
You errr
Optimally should stick to your previous thread?
Because it's A: related and B: you still haven't fixed the issues that came up
#1064162203151900692
Do one step at a time. Don't do everything at once.
you are right but this is only a gui for admins and the command should only open the gui
my current problem is that i can't update the lore of the item in the gui
Should stick to your existing thread if you have one, we can help there
Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@gloomy nymph