Hello, i am currently trying to write two tasks, which are supposed to save a schematic of a building, and later paste that building where it was and how it was, when it was saved. I tried testing it, but if i try to paste the schematic there is no blocks appearing, even tho there were blocks inside the cuboid that is supposed to be saved and pasted. The console is not giving any errors.
#(Hannybee) Schematics not pasting as supposed to
1 messages · Page 1 of 1 (latest)
(Hannybee) Schematics not pasting as supposed to
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>
!haste
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
can you haste it instead please lol its hard to read in screenshots
Content of Denizen Script Paste #103967: 'rent'... pasted 2022/12/13 12:15:45 UTC-08:00, Paste length: 1969 characters across 59 lines
Content of Denizen Script Paste #103967: 'rent'... pasted 2022/12/13 12:15:45 UTC-08:00, Paste length: 1969 characters across 59 lines
Script Check Results
Script Warnings
On line 18, 21: This line appears to contain raw object notation. There is almost always a better way to write a line than using raw object notation. Consider the relevant object constructor tags.
Other Script Information
On line : (Statistics) Total structural lines: 7
On line : (Statistics) Total live code lines: 37
On line : (Statistics) Total comment lines: 0
On line : (Statistics) Total blank lines: 4
Shortened Lines
There are 1 lines that were merged into other lines.
Note the warnings ^
Also you don't have to pass a player to a task. If the task was ran from a queue that has a <player> object available, it's also available within the task.
Use <n> in narrates to create a new line or <empty> to return empty lines.
Yeah, its for further compability, when its supposed to be run from a different player, that is not the effected player ^^
Then you can still use the global player: arg, to link the task to a different player.
!lang global player
Possible Confusion
Did you mean to search for player entity skins (skin blobs)?
!lang npc and player
Possible Confusion
Did you mean to search for the player and npc arguments?
The "player:<player>" and "npc:<npc>" arguments are special meta-arguments that are available for all commands, but are only useful for some.
They are written like:
- give stick player:<server.flag[some_player]>
or: - sit npc:<entry[save].created_npc>
Denizen tracks a "linked player" and a "linked NPC" in queues and the commands within.
Many commands automatically operate on the linked player/NPC default or exclusively
(for example, "give" defaults to giving items to the linked player but that can be changed with the "to" argument,
"sit" exclusively makes the linked NPC sit, and that cannot be changed except by the global NPC argument).
When the player argument is used, it sets the linked player for the specific command it's on.
This is only useful for commands that default to operating ...
Group
Script Command System
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 Server Log Paste #103968: 'Denizen Debug Logs From A Minecraft Server'... pasted 2022/12/13 12:21:39 UTC-08:00, Paste length: 14645 characters across 140 lines
Content of Server Log Paste #103968: 'Denizen Debug Logs From A Minecraft Server'... pasted 2022/12/13 12:21:39 UTC-08:00, Paste length: 14645 characters across 140 lines
Server Version
Paper version git-Paper-280 (MC: 1.19.2)-- (:warning: Outdated build, behind by 43... Current build is 323)
Plugin Version(s)
Citizens: 2.0.24-SNAPSHOT (build 1605) -- (:warning:Outdated build, behind by 1202)
Denizen: 1.2.5-SNAPSHOT (build 1780-REL) -- (Outdated build, behind by 1)
Depenizen: 2.0.0 (build 809) -- (Outdated build, behind by 4)
Checked For
@severe iron
Java Version
17.0.3 :white_check_mark:
Other Noteworthy Plugin(s)
WorldGuard: 7.0.7+216b061
1202 builds nice
unrelated, but you should definitely update citizens, also related: update denizen
!update citizens denizen
Update Citizens
Latest Citizens dev builds are at https://ci.citizensnpcs.co/job/Citizens2/.
Spigot releases of Citizens are available at https://www.spigotmc.org/resources/citizens.13811/.
Update Denizen
Latest Denizen stable release builds are at https://ci.citizensnpcs.co/job/Denizen/. Most users should download the stable release build.
Latest Denizen dev builds are at https://ci.citizensnpcs.co/job/Denizen_Developmental/. Dev builds are for usually for test servers only.
Spigot resource page for Denizen is at https://www.spigotmc.org/resources/denizen.21039/ (do NOT download builds from Spigot).
i updated, now my console is throwing out errors constantly, saying that "LocationTag trying to read block, but cannot because no world is specified." should i post another debug report?
Yes please
Content of Server Log Paste #103969: 'Denizen Debug Logs From A Minecraft Server'... pasted 2022/12/13 12:31:11 UTC-08:00, Paste length: 28486 characters across 371 lines
<schematic[rrg_elandar_small_1].origin> is the origin location; it doesn't actually include the world name
!command schematic tag
Group
world
Syntax
schematic [create/load/unload/rotate/save/flip_x/flip_y/flip_z/paste (fake_to:<player>|... fake_duration:<duration>) (noair) (mask:<material_matcher>)] [name:<name>] (filename:<name>) (angle:<#>) (<location>) (area:<area>) (delayed) (max_delay_ms:<#>) (entities) (flags)
Short Description
Creates, loads, pastes, and saves schematics (Sets of blocks).
Description
Creates, loads, pastes, and saves schematics. Schematics are files containing info about blocks and the order of those blocks.
Denizen offers a number of tools to manipulate and work with schematics.
Schematics can be rotated, flipped, pasted with no air, or pasted with a delay.
All schematic command usages must specify the "name" argument, which is a unique global identifier of the schematic in memory.
This will be created by "create" or "load" options, and persist in memory until "unload" is...
Related Tags
<schematic[<name>].height> Returns the height (Y) of the schematic.
<schematic[<name>].length> Returns the length (Z) of the schematic.
<schematic[<name>].width> Returns the width (X) of the schematic.
<schematic[<name>].block[<location>]> Returns the material for the block at the location in the sc...
<schematic[<name>].origin> Returns the origin location of the schematic.
<schematic[<name>].blocks> Returns the number of blocks in the schematic.
<schematic[<name>].exists> Returns whether the schematic exists.
<schematic[<name>].cuboid[<origin location>]>
<schematic.list> Returns a list of all loaded schematics.
which uh, might be worthy of being in the meta tbh?
but anyways you can use this to fix that error:
!tag locationtag.with_world
Returns a copy of the location with a changed world value.
Group
identity
Returns
LocationTag
<schematic[rrg_elandar_small_1].origin.with_world[<player.world>]> etc
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.)
@hoary vale