#(nasrulswd) anyone help me

82 messages · Page 1 of 1 (latest)

eternal pelican
opaque fiberBOT
#

(nasrulswd) anyone help me

opaque fiberBOT
#

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.

glacial mulch
#

!c inventory

vocal gyroBOT
# glacial mulch !c 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...

glacial mulch
#

inventory set

#

give it the relevant slot

#

and then choose an item at random with

#

!t listtag.random

vocal gyroBOT
# glacial mulch !t listtag.random

Gets a random item in the list and returns it.
Optionally, add [<#>] to instead get a list of multiple randomly chosen list entries.

Returns

ObjectTag

Examples
# Narrates EITHER "one" OR "two" - different each time!
- narrate "<list[one|two].random>
# Could narrate "one|two", "two|three", OR "one|three" - different each time!
- narrate "<list[one|two|three].random[2]>
# Could narrate "one|two|three", "one|three|two", "two|one|three", "two|three|one", "three|two|one", OR "three|one|two" - different each time!
- narrate "<list[one|two|three].random[9999]>
glacial mulch
#

you may build or find the list yourself

eternal pelican
#

why my script not work?

hollow ermine
#

!c inventory usage

vocal gyroBOT
# hollow ermine !c inventory usage
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.

Use to open a chest inventory, at a location.
- inventory open d:<context.location>
Use to open a virtual inventory with a title and some items.
- inventory open d:generic[size=27;title=BestInventory;contents=snowball|stick]
Use to open another player's inventory.
- inventory open d:<[player].inventory>
Use to remove all items from a chest, except any items in the specified list.
- inventory keep d:<context.location.inventory> o:snowball|ItemScript
Use to remove all sticks and stones from the player's inventory.
- inventory exclude origin:stick|stone
Additional Usage Examples

... and 5 more.

hollow ermine
#

man

#

If you click on the link you can see more examples

#

when setting you need an origin and a destination

#

in your case it'd be
- inventory set o:<[random]> slot:<context.slot> d:<context.inventory>

#

!l inventory script contain

vocal gyroBOT
# hollow ermine !l inventory script contain

Inventory script containers are an easy way to pre-define custom inventories for use within scripts.
Inventory scripts work with the InventoryTag object, and can be fetched with the Object Fetcher by using the
InventoryTag constructor InventoryTag_script_name.

Example: - inventory open d:MyInventoryScript

The following is the format for the container.

The 'inventory:' key is required, other keys vary based on the type.
Some types will require you define either 'size:' or 'slots:' (or both).
'Procedural items:' and 'definitions:' are optional, and should only be defined if needed.


# The name of the script is the same name that you can use to construct a new
# InventoryTag based on this inventory script. For example, an inventory script named 'Super_Cool_Inventory'
# can be referr

...

Group

Script Container System

hollow ermine
#
some_inv:
  type: inventory
  inventory: chest
  size: 9
  definitions:
    filler: black_stained_glass_pane[display=<empty>]
  slots:
  - [filler] [] [] [] [] [] [] [] [filler]```
#

I just woke up so I'm not grasping the idea behind the set of two identical inventories

eternal pelican
#

thanks tech

#

u are so helpful

#

now how can i create if data if player reveal item the item will stay...after 1 week the night market is reset?

hollow ermine
#

I made something similar recently but it's part of a bigger project, let me simplify it a bit and i'll send an example of how I did it

eternal pelican
#

okey i need the example

hollow ermine
eternal pelican
#

thanks bro

#

now can u help me if with the rerol system?

hollow ermine
#

Kind of busy right now, you can describe how you want the reroll system to work and I'll help you later if someone else hasn't already :)

eternal pelican
#

after player reveal the item and then player do /nightmarket the reroll still thrare

eternal pelican
#

i want if player do /nightmarket after reroll the button rerol not thare

hollow ermine
#

Just have to change the procedural items and the flags a bit, can give you in example in 20ish mins

hollow ermine
#

Lmk if you need help with anything else

#

I included links to tags you might not be familiar with and guide and language explanations

eternal pelican
#

thanks bro

#

u really good at this

agile hollowBOT
#
Resolved

Thread closed as resolved.

eternal pelican
#

wait

agile hollowBOT
#
Thread Reopened

Thread was manually reopened by @eternal pelican.

eternal pelican
#

why your script not work

#

what flag i have add to my server

#

what the command

feral inlet
# eternal pelican what the command

tech has been really nice with kind of giving you the script, i'd recommend actually going through the script and seeing what it does so that you can resolve an issue like this yourself

#

do read the guide :)

hollow ermine
#

Though I'm really curious what's going wrong here lol, can you record a debug?

#

!debug

vocal gyroBOT
# hollow ermine !debug
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!

eternal pelican
feral inlet
#

:(

vocal gyroBOT
# feral inlet !checklog https://paste.denizenscript.com/View/115256
Server Version

Paper version git-Paper-182 (MC: 1.20.1)-- (Outdated build, behind by 1... Current build is 183)

Plugin Version(s)

Denizen: 1.2.8-SNAPSHOT (build 1796-REL) -- (Current build :white_check_mark:)
Depenizen: 2.1.0 (build 845) -- (Current build :white_check_mark:)

Checked For

@feral inlet

Online/Offline

:triangular_flag_on_post: Offline.

UUID Version

3 (:triangular_flag_on_post: Offline)

Java Version

17.0.8 :white_check_mark:

feral inlet
#

@carmine pawn

hollow ermine
#

well that's unfortunate

eternal pelican
#

wait

hollow ermine
#

Fyi, that's not the latest script I posted, can't really provide support now though, so do with that as you will

eternal pelican
#

now it's working

#

idk why its working

hollow ermine
#

!cracks

vocal gyroBOT
# hollow ermine !cracks
Info: cracks

Cracked users or servers will not receive support on this Discord.
"Cracked" means any server that is in 'offline' mode (ie, no login authentication) (for Bungee networks, this is whether the proxy is offline, not the Spigot sub-servers).
A server that does not authenticate logins through Mojang is a server that actively supports piracy. Software piracy is illegal, as is supporting other people involved in software piracy.
In addition to the legal concerns, there are fundamental issues with how cracked servers work internally that lead to significant security risks and as well issues that in particular affect the functioning of Citizens.

Due to these problems, we cannot and will not provide support to cracked servers or those involved in software piracy - except for support with switching to a legitimate server.
Refer to https://wiki.citizensnpcs.co/Cracks for more detailed information.

If you server is configured as cracked by mistake, or you did not realize the significance of that choice and would like to switch to a legitimate & legal server, contact a helper in #old-dns-role-lifting and we can restore your supportable status.

eternal pelican
#

i just reinstal my server and the the script working

#

now another error

hollow ermine
#

We don't provide support to people running cracked servers

#

I gave you a very commented example, you can use that and try to figure it out yourself, as hyper said above 🤷‍♂️

eternal pelican
#

i use my localhost server and i open cracked because i use another my cracked account to find an error

agile hollowBOT
#
Resolved

Thread closed as resolved.

devout whale
#

@narrow osprey cracked 707082914495594547

agile hollowBOT
#
Thread Reopened

Thread was manually reopened by @devout whale.

narrow ospreyBOT
carmine pawn
agile hollowBOT
#
Thread Reopened

Thread was manually reopened by @carmine pawn.

carmine pawn
#

oh

#

because it was closed