#(gthoro) Iterate over world guard regions, check member and do some commands
19 messages · Page 1 of 1 (latest)
(gthoro) Iterate over world guard regions, check member and do some commands
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.
!t worldtag.list_regions
Returns a list of WorldGuard regions in this world.
Depenizen, WorldGuard
ListTag(WorldGuardRegionTag)
!t worldguardregiontag.members
Gets a list of all members of a region. (Members are permitted to build, etc.)
Depenizen, WorldGuard
ListTag(PlayerTag)
script:
- foreach <server.worlds> as:world:
- foreach <[world].list_regions> as:entry:
- narrate "Region ID: <[entry]> in world <[world]>"
gives me
[02:11:45 INFO] Additional Error Info: Error Message: Tag <[world].list_regions> is invalid!
[02:11:45 INFO] Additional Error Info: Unfilled or unrecognized sub-tag(s) 'list_regions' for tag <[world].list_regions>!
[02:11:45 INFO] Additional Error Info: The returned value from initial tag fragment '[world]' was: 'w@world'.
!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!
Content of Server Log Paste #136279: Denizen Debug Logs From Symetria ponad wszystko!... pasted 2025/09/20 17:21:51 UTC-07:00, Paste length: 6469 characters across 63 lines, Content: `Java Version: 21.0.8  Up-time: 5h 38m  Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1406), Spigot: 1.3.1-SNAPSHOT (build 7213-DEV)  Script Containers:...
Latest Depenizen dev builds are at https://ci.citizensnpcs.co/job/Depenizen/.
amazing, everything works now, thank you very much
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command 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.)
@sleek sandal