#(ama) flag update

51 messages · Page 1 of 1 (latest)

gloomy nymph
#

how can i update a flag on an item?

silk tangleBOT
#

(ama) flag update

silk tangleBOT
#

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>

night tusk
#

!vague

prime mesaBOT
# night tusk !vague
Info: 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

gloomy nymph
#

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

primal valley
#

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

prime mesaBOT
# primal valley !command inventory
Group

item

Syntax

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>)

Short Description

Edits the inventory of a player, NPC, or chest.

Description

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...

primal valley
#

!guide adjust

prime mesaBOT
# primal valley !guide adjust
Cannot Specify Searched GuidePage

Multiple possible guidepages: Common Mistakes - So, How Do I Adjust A Specific Item?, Common Mistakes - The Adjust Command Is Not For Items/Materials/Etc..

primal valley
#

!guide adjust command is not for items

primal valley
#

this writeup elaborates the process of adjusting an existing item without removing it

#

via the inventory adjust command

#

!object item

prime mesaBOT
# primal valley !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...

Prefix

i

Base Type

ElementTag

Implements

FlaggableObject, PropertyHolderObject

Format

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'.

primal valley
#

itemtag implements PropertyHolderObject

#

!object propertyholderobject

prime mesaBOT
primal valley
#

items hold properties

#

!tag propertyholderobject.with

prime mesaBOT
primal valley
#

as well as:

#

!tag propertyholderobjec

prime mesaBOT
# primal valley !tag propertyholderobjec
Cannot Specify Searched Tag

Multiple possible tags: <PropertyHolderObject.with[<mechanism>=<value>;...]>, <PropertyHolderObject.with_map[<property-map>]>, <PropertyHolderObject.supports[<property-name>]>, <PropertyHolderObject.property_map>, <PropertyHolderObject.with_single[<mechanism>=<value>]>.

primal valley
#

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

prime mesaBOT
#
Info: debug

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!

gloomy nymph
grand depot
#

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.

gloomy nymph
#

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

night tusk
#

Should stick to your existing thread if you have one, we can help there

tall cobaltBOT
#
Thread Closing Reminder

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