my_inventory:
type: inventory
inventory: chest
gui: true
definitions:
pl1: <list[<server.online_players>].alphabetical.get[1].skull_item>
pl2: <list[<server.online_players>].alphabetical.get[2].skull_item>
pl3: <list[<server.online_players>].alphabetical.get[3].skull_item>
pl4: <list[<server.online_players>].alphabetical.get[4].skull_item>
pl5: <list[<server.online_players>].alphabetical.get[5].skull_item>
pl6: <list[<server.online_players>].alphabetical.get[6].skull_item>
pl7: <list[<server.online_players>].alphabetical.get[7].skull_item>
pl8: <list[<server.online_players>].alphabetical.get[8].skull_item>
pl9: <list[<server.online_players>].alphabetical.get[9].skull_item>
slots:
- [pl1] [pl2] [pl3] [pl4] [pl5] [pl6] [pl7] [pl8] [pl9]
- [] [] [] [] [] [] [] [] []
- [] [] [] [] [] [] [] [] []```
#(jironis) why doesn't work (Heads in gui)
41 messages · Page 1 of 1 (latest)
(jironis) why doesn't work (Heads in gui)
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.
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
look at procedural items key
It's just my first day in denizen, it's hard
That's okay, you can look at what I pulled up, it has a similar(ish) example
Have you read the guide yet?
!guide
Guides
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
yes i read
there is almost nothing written about list, playerheads and little about gui
All Languages
Find all Languages at https://meta.denizenscript.com/Docs/Languages/
and it’s just hard for me (I’m not English) so I have to translate all this into my language
# Procedural items can be used to specify a list of ItemTags for the empty slots to be filled with.
# Each item in the list represents the next available empty slot.
# When the inventory has no more empty slots, it will discard any remaining items in the list.
# A slot is considered empty when it has no value specified in the slots section.
# If the slot is filled with air, it will no longer count as being empty.
# | Most inventory scripts should exclude this key, but it may be useful in some cases.
procedural items:
- define list <list>
- foreach <server.online_players>:
# Insert some form of complex doesn't-fit-in-just-a-tag logic here
- define item <[value].skull_item>
- define list:->:<[item]>
- determine <[list]>```
This is the example for procedural items
It'll fill the inventory with all online players' skins
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!
Run /denizen debug -r, open the inventory, then run /denizen submit
it'll give you a link, post it here
ok
Content of Server Log Paste #119983: Denizen Debug Logs From A Minecraft Server... pasted 2024/02/05 11:15:39 UTC-08:00, Paste length: 8413 characters across 59 lines, Content: Java Version: 17.0.9Up-time: 1h 56m
Content of Server Log Paste #119983: Denizen Debug Logs From A Minecraft Server... pasted 2024/02/05 11:15:39 UTC-08:00, Paste length: 8413 characters across 59 lines, Content: Java Version: 17.0.9Up-time: 1h 56m
Server Version
Paper version git-Paper-393 (MC: 1.20.4)-- (Outdated build, behind by 15... Current build is 408)
Plugin Version(s)
Denizen: 1.3.0-SNAPSHOT (build 6982-DEV) -- (Outdated build, behind by 4)
Checked For
@sudden ferry
Online/Offline
:triangular_flag_on_post: Offline.
UUID Version
3 (:triangular_flag_on_post: Offline)
Java Version
17.0.9 :white_check_mark:
Suspicious Plugin(s)
SkinsRestorer: 15.0.6 :triangular_flag_on_post: (Offline skins fixer plugin)
!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.
@worldly locust cracked 677088887239344149
Applied
Role applied.
Thread created: #1204143570408181831