#Open Denizen Discussion Thread
1 messages · Page 4 of 1

well, if it's just bow and crossbow, it'd match the other events like player shoots bow
context.bow is a bit misleading, because what if mojang decides to add in super cool new ranged weapon sling shot
I do, and no, context.loading_item is weird
dblsbksvud ishlshiwvud ivskgaigauvruvisvjrvkvsivdubsub
your weird
!event bow
yeah, it matches entity shoots bow
why are there so many bow events
!event entity shoots bow
Entity
entity shoots bow <entity> shoots <item>
when an entity shoots something out of a bow.
when the entity that shot the bow is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
when the entity that shot the bow is an NPC.
<context.entity> returns the EntityTag that shot the bow.
<context.projectile> returns a EntityTag of the projectile.
<context.bow> returns the ItemTag of the bow used to shoot.
<context.force> returns the force of the shot.
<context.item> returns an ItemTag of the shot projectile, if any.
ListTag(EntityTag) to change the projectile(s) being shot. (Note that in certain cases, determining an arrow may not be valid).
"KEEP_ITEM" to keep the projectile item on shooting it.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
I’m just saying
mojang could do something really fucking funny
when mojingles does something funny it'd be noteworthy to change later maybe
like we did with switched
!e entity loads crossbow
Paper
Paper
<entity> loads crossbow
crossbow:<item> to only process the event if the crossbow is a specified item.
when a living entity loads a crossbow with a projectile.
when the entity is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
when the entity is an NPC.
<context.entity> returns the EntityTag that is loading the crossbow.
<context.crossbow> returns the ItemTag of the crossbow.
<context.consumes> returns true if the loading will consume a projectile item, otherwise false.
<context.hand> returns "HAND" or "OFF_HAND" depending on which hand is holding the crossbow item.
"KEEP_ITEM" to keep the projectile item in the shooter's inventory.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
Didn't know that this exist until now
well here it ain’t context.bow
yeah because that event only fires for crossbows
conflicting data, will report to R&D for review
You're saying mcmonkey's script buried somewhere in ... #showcase or #denizen-pre-forum where the lockpick was being tilted left and right in a skyrim-esque manner, could totally work in VR if you tried?
Word to number converter proc:
“ninety-three” to “93”
“forty-five” to “45”
“three-thousand-two-hundred-sixty-four” to “3264”
“zero” to “0”
“six-point-four” to “6.4”
“eighty-four-point-six-three” to “84.63”
the proc should accept numbers up to and including 999,999,999,999, support spaces instead of dashes, and optional challenge: spell check and take slightly off typos
that's incredibly useless and i love it
wait
that's just messing with replace regex
i hate you
eh, not quite
keywords like "thousand" get kinda weird
"three thousand and four" vs "three thousand four hundred fifty two"
see thousand
define + 1000
life is easy
😠 why you asking the robot when I already showed you a thing
three thousand
repeat 3
define + 1000
life is easy
14
repeat 3 okay maybe you're not suited to implementing this
12
how realistic are clientside-only fake players these days? especially given the 1.19.3 change where they don't have to be added to the tablist
true it shouldve been repeat 3000: define + 1
!e entity drops item
Entity
<entity> drops <item>
when an entity drops an item.
When the entity dropping an item is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.item> returns the ItemTag.
<context.entity> returns a EntityTag of the item.
<context.dropped_by> returns the EntityTag that dropped the item.
<context.location> returns a LocationTag of the item's location.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
probably split by - and , and then have a scanner parse each of them into a map object (taking into account the <ElementTag.difference>), then have a parser put them into groups (maybe an ast?), and then evaluate those groups
<context.location> returns a LocationTag of the item's location. This is supposed to return the items location after it is dropped right?
welp maybe i answered my own question
if you have on it is beforer but after will be end location. at least i think.
huh i never realized there was a location
does it like calculate where the item will fall?
because if not, kinda redundant cus you could just <context.entity.location>
o that is a good thought.
noooo you shouldnt think seriously on that!
Back at it again with another update. Can you believe spigot API still doesn't have an event that can handle items dropped from block break events?
Anyway, skyblock players rejoice at finally being able to resurrect their 16k an hour stone generators.
I tried this out with non-mining stuff, it was very easy to repurpose the script to perform the same kind of bonuses to farming crops and the like. If anyone has a better idea on how I'd achieve this kind of thing without having to define the material matching as data lists, would love to hear it. Vanilla tags still aren't reliable enough.
https://github.com/Baivo/SBG/blob/main/ProjectSP/perks_mining.dsc
(line 136)
on player breaks block:
- if !<util.random_chance[<element[<script[perks_mine].data_key[precision.<player.flag[perks.mine.precision].if_null[1]>]>].mul[100]>]>:
- stop
you don't need the <element[]> in there, you can just do <script[perks_mine].data_key[precision.<player.flag[perks.mine.precision].if_null[1]>].mul[100]>
uhhh something went wrong on my ctrl c ctrl v
there we go
very cool system!
will you do perks for everything?
Can you believe spigot API still doesn't have an event that can handle items dropped from block break events?
!e player breaks block
Player
player breaks block player breaks <material>
with:<item> to only process the event when the player is breaking the block with a specified item.
when a player breaks a block.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.location> returns the LocationTag the block was broken at.
<context.material> returns the MaterialTag of the block that was broken.
<context.xp> returns how much XP will be dropped.
<context.should_drop_items> returns whether the event will drop items.
"NOTHING" to make the block drop no items.
ListTag(ItemTag) to make the block drop a specified list of items.
ElementTag(Number) to set the amount of xp to drop.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
(determine) ListTag(ItemTag) to make the block drop a specified list of items.
yeah but there's no info on what the block drops from the event, only a way to determine your own list
was what I was referring to
ah
lmao idk why that ended up in there like that but probably me trying to force the vs code colouring to fuck off without closing my workspace
best guess
but yes, I am adding perks for all sorts of vanilla and non-vanilla stuff
Returns what items the block at the location would drop if broken naturally.
Optionally specifier a breaker item.
Not guaranteed to contain exactly correct or contain all possible drops (for things like plants that drop only when grown, ores that drop random amounts, etc).
world
ListTag(ItemTag)
oh
good to see we agree though
and to be fair
that ended up being a better way to achieve it since it handles worrying about fortune and the like for me
!e drops from
Did you mean to search for block drops item from breaking?
Player
block drops item from breaking <block> drops <item> from breaking
when a items drop from a block due to a player breaking the block in survival mode.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.location> returns the LocationTag the block was broken at.
<context.material> returns the MaterialTag of the block that was broken.
<context.drop_entities> returns a ListTag of EntityTags of type DROPPED_ITEM. To get the list of I...
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
^ literally right there
Nah I had all sorts of issues with that event
I didn't check to see if it was something I had going on or with the event itself
but try hooking up the event to just announce in chat the contexts each time it fires
then go around in survival breaking blocks
if it's not a me thing, you'll see it sometimes works exactly as you'd expect, and sometimes the event straight up doesn't register
but I lean towards it being my environment, probably something in the spigot>paper>pufferfish>purpur nonsense i can't be bothered digging into
well yeah shit's gon be broke if you run pufferfish
agreed
switching back on the weekend
tried it, turns out it's the JS framework meme
lots of positive sounding talking points
causes more issues than the benefits it claims to offer
yep
This is how you end up with those grizzled C++ veterans that walk into a room, curse you out in assembly, then leave the room but 10x faster than anyone else
Similar thing happened when I wanted to help a data team do some automation
I thought "Great, finally a good excuse to try and get good with python*
4 months later and the repo is 92% powershell 7%SQL
oh i'm sorry, TSQL
Put the cross away.
Hello should I post my denizen error question on here?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
ok my server ejects this error
[17:12:17 WARN]: [Denizen] Task #505832 for Denizen v1.2.2-SNAPSHOT (build 1753-REL) generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Entity.teleport(org.bukkit.Location, org.bukkit.event.player.PlayerTeleportEvent$TeleportCause)" because the return value of "net.citizensnpcs.api.npc.NPC.getEntity()" is null at com.denizenscript.denizen.npc.traits.SittingTrait.sitInternal(SittingTrait.java:119) ~[Denizen-1.2.2-b1753-REL.jar:?]
at com.denizenscript.denizen.npc.traits.SittingTrait.sit(SittingTrait.java:147) ~[Denizen-1.2.2-b1753-REL.jar:?] at com.denizenscript.denizen.npc.traits.SittingTrait.lambda$onSpawn$0(SittingTrait.java:64) ~[Denizen-1.2.2-b1753-REL.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-404]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-404]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-404] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-404]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
this occationally happens when there's no one in the server
I think it is related to the NPC path
but have no idea exactly what is making this issue
LOOL
my idol ngl
what version of citizen is compatible with Minecraft v1_19_R1 version?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
how does one go about requesting an update to depenizen libs
different repo
do i make feature thread for this or PR for a random jar file that wouldn’t do anything on its own
same question for adding new plugin support to depenizen ^ its gotta be in libs repo rite
!guide contrib
View the guide page 'Contributing to Denizen' at: https://guide.denizenscript.com/guides/contributing/index.html
would be worthy of a post if ye want to digress on adding to depenizen
have already got pr was just wondering abt the lib
Denizen-Lib? can pr the jar to it yeah
what plugin do you write support for?
not every plugin is supported
towny just mad outdated in it, not a problem for my ongoing pr but theres lots of features it’d otherwise be impossible to support with that
ill pr the jar ig
ye
If you PR a jar update you should usually have a PR for it open on the Depenizen repo
As in, a PR adding the things you need the jar updated for, otherwise there's not much reason to change the jar - and also obviously need to update the version in the pom
should i post all my scripts
if you want
There is a problem i use a different plugin to spawn a npc and then i get my name and a health thing
how can i remove it?
!channel
When you have an issue or question, please create a thread for it in the most relevant channel. Don't use #chatter, it's not a support channel.
#1026104994149171200 is for Denizen questions.
Citizens questions go in #1027028179908558918.
Questions about Sentinel should be put in #1024101613905920052.
Other minecraft/tech topics can go in #1027976885520584814.
Also look in #info for the description of each channel, or at the topic bar (at the top of the screen within each channel). That topic bar also links to the relevant readme file for each project, which contains lots of handy information and links to builds and stuff like that.
I already read that plugin conflict thing but I don't understand how to get rid of that name.
^ Please read it, you're asking a #1027028179908558918 question, but this is #1026104994149171200
The problem is that i created the npc with another plugin, i saw that i can be because of tab plugin but i dont think so
ohh sorryy i thought its the same thing
yeah, that's why i asked
will check out yer post when you open that
on denizen loads determine cancelled
on server start determine cancelled
on script event cancelled: determine cancelled
on internal bukkit event determine cancelled
💀
on player sends packet on player receives packet determine cancelled hmm
on tick determine cancelled
LMAO
wanna mess with time?
on system time secondly determine cancelled
or
on delta time secondly determine cancelled
collapse the universe with denizen!
on tick: - reload
on server prestart: - restart
free small script that lets players toggle their armor display on and off, so they can show off cool skins without being smacked into a wall by a creeper.
Optional filter to exclude stuff like elytra from being hidden, and instructions on how to adapt it to your needs.
Nothing fancy, but saves you having to do it.
I am also working on a survival friendly way to provide players with building materials that you choose, which can only be used for building.
Lemme know if this is something you'd be interested in and i'll try and make a standalone version for y'all.
why not post in #showcase ?
It was a 5 minute thing, and I'm planning to put together a bunch of similar ones in the forum a Lil later.
Don't want to spam showcase with the Lil ones
woah this is actually really cool
One of my admins asked for a way to let people build ornaments for our christmas tree, and I put the item/block tracking in place just in case we needed to track down players being naughty
The second player to use it tried to hide 384 blocks of netherite before I toggled the killswitch, and had the nerve to claim we were being unfair by turning his netherite armor and beacon into dirt
pretty funny
But yeah the idea of having admins be able to either give access to a full menu of items, or setup small palettes for themed build challenges and stuff was appealing
Quick question, Im assuming denizen does not work in 1.19.3?
Right now only dev builds of Denizen work on 1.19.3 (ref #news).
Also next time you need help with a question make sure to make a post
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
Thankyou though
!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).
Ah thx again 
ok ive im stupid or this page https://wiki.citizensnpcs.co/DtlTraders/basics is BS. Following trhe instruction /trader create blockseller it makes a npc called blockseller. Right clickign the NPC then does nothing like as decribed
This tutorial will show you how to create an Admin shop like trader, how to change his stock and what you should be aware of when managing a trader. I will show you some exceptions and behavior connected with the manager mode and it's sub-modes. I'll also show you how to change the configuration to help you set up prices.
what I get is a blank gui with a redstone block in the bottom middle that just exits, and an incomn that toggle buy/sell/trde and does nothing else. i cant drage anthing into the gui
why are you posting this in #1027064108056580106 of all possible places. You're in the wrong thread of the wrong channel of the wrong discord.
dtl is par tof denizens isnt it, at least the citizens page tells you to go download it and add it
wh
citizens and denizens part of same thing
Denizen* (no s) does not-
wh
aa
you're so far down so many different wrong assumptions i can't keep up
so im confused then, wioud lyou care to clarifly who owns whhat
im only going on what i reaed ion the plugin page
whats the differnce between denizens and D;t
dtlTraders is its own separate plugin from many years ago that got abandoned by its author, I think somebody else maintains a fork on spigot somewhere.
It's an addon to Citizens, but Citizens support cannot help you with it because it's somebody else's.
Nothing at all to do with Denizen.
well thats majorly confusing isnt it
This tutorial will show you how to create an Admin shop like trader, how to change his stock and what you should be aware of when managing a trader. I will show you some exceptions and behavior connected with the manager mode and it's sub-modes. I'll also show you how to change the configuration to help you set up prices.
That page was last updated in 2014 by the author that as said abandoned it years ago
why does it sat "citizens" in the url
Because it was a Citizens addon and those were allowed to have documentation on the Citizens wiki
ffs
now go up a page
<div class="infobox" style="width: 295; font-size: 12px; background: #FFFFFF; float: right; border: 1px solid #CCC; margin-left:2.5em; padding: 9px;">
and look at the big red text in the About
apparently in 2019 that page was updated to link out to the new maintainers
well, how to piss people off andput them off your plugin range asap, or what
but you continue to include it in links and documentartion, you need to get rid of it all, its confusing
that’s the citizens wiki, this is a discussion thread for denizen
and yet citizens is advertised as "Citizens + Denizens"...see how confusing that is..
Denizen continues to not have an 's' no matter how many times you tack that on
the '+' as you write or the 'and' as its actually written is because it's two different things, that work together
Denizen is one of the most popular addons to Citizens
ah so anevenmore subtle differnce designed toconfuse, so thers denizen and denizens? thats not al all confusing is it
There's no 'denizens'
that's you repeatedly making a typo and being aggro about it
You really need to chill
and, if you're needing help with dtlTraders, go find their discord for that
yes, ive spenty the last two hoursv pissing about with it and getting nowherer, im very aggravated, and its all down to porr document maintencance and some massive complex argument about who owns what
lol they finally left the discord
they don't appear to have joined the dtl discord though
finding a discord link on the page that was shown is probably too massive and complex a task for them
so are we just not going to talk about the difference between Denizen and Denizens?
that couldnt hurt more to follow lol
oh man if i had been here sooner i would lie about the existence of Denizens and why it is the superior version of Denizen
That would make them even more confused
lmfao i know
Is there a way to specify a direction for the 'drop' command when it's being used with the speed argument to launch the item? Seems very doable, I'm just not sure where to put the argument- does it need to be added to the location?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
dont you need special roles to post there
i would but like ^^^^
you must agree to the rules first on the pinned post
then you can write in #showcase
oh
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).
Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.
Latest Paper builds are at https://papermc.io/downloads.
(If you would prefer to use a Spigot build, refer to !update spigot).
virgin mcmmo vs chad denizen
yeah about a year back I had this guy complaining about xp taking ages to grind for an enchant he wanted and he was sick of hitting enderman, so I just had a command block spit out xp on loop for a bit
but i went afk and it got out of hand before i removed it
keepxp is on for the server so it's been that way since
ah i see
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
What is the event when a player punches an item frame to take the item?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

^ :p
Hi! The document in the collection is deleted using the command too? It's just, I'm not sure
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
(B Error Message: Tag (B<player(B.item_in_hand(B.script.name(B> is invalid!(B ... Enable debug on the script for more information. [17:56:38 INFO]: ERROR in script 'pick_hold' in queue '(BPICK_HOLD_1097087(B_ColonyGrams' while executing command 'IF' in file 'scripts/DwarvenPick.dsc' on line '22' with player 'BambooZ3l'!
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
what
go to #1026104994149171200 and make a new post
Only 4 makepost's today? We're under quota.
step 1: make post
step 2: make post
step 3: make post
step 4: make post
> ask question in discussion thread
> make post make post make post make post make post
make post asking if needs to make post
when should i update to 1.19.3?
LuckPerms, spark, TabTPS, Vault, Citizens, WorldEdit, Denizen, dDiscordBot
As soon as possible?
im not sure if spark is compatible yet
Wait for a Denizen release build that supports 1.19.3 for productive servers.
Who needs WorldEdit if you have Denizzlin
oh hey it does!
What's TabTPS?
Spark updated to Forge and Fabric 1.19.3, I'd assume they would've done the same for Bukkit if it was needed, but maybe they're waiting on something
alright
its just that, im too lazy to make my own script for this
You lazy!
everyday i get an existential crisis over the fact that i will have to make a claiming system
Just use dPrevention, solved.
Denizen it 👀
I made my own because I wanted full control and it turned into it's own separate thing. Which is a good and a bad thing because I have to compensate for so much.
Who need that info in tab list anyways, if you can have a fancy grafana dashboard (heavily inspired by Mergu) 
oo, that's neat
give me now
alright so i will wait for a 1.19.3 denizen release
also one thing i love about denizen is that version updates dont really affect you
for many other plugins, changing the miencraft version pretty much breaks your entire server, and therefore you have to spend weeks to months to prepare for it
but for denizen it "just works"
most of the time you dont have to modify your scripts at all
That's technically just a Denizen webserver that gets queried by Prometheus
ah
I also track items that get purchased and sold in an adminshop 
damn thats quite cool
I'd also like to track the price of items, but haven't got into it yet.
Ye, I saw Mergu's dashboard as well. Made me set one up at the time too. Grafana is an awesome solution for that.
That’s so awesome!
Now make a vacuum that sucks up entities.
now make it burn wood
so I can run around a village in vr committing arson
i mean we do totally have that one mech which comically does that exactly 
Doesnt it suck up blocks
lol

O shit a ghost trap model and that mech would be fire!!
I've created PHASMOPHOBIA in MINECRAFT in 3 DAYS
nimsy? I didn't know you were a helper
<repositories>
<repository>
<id>citizens-repo</id>
<name>Citizens Repository</name>
<url>https://maven.citizensnpcs.co/#/repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.denizenscript</groupId>
<artifactId>denizen</artifactId>
<version>1.2.6-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
</dependencies>
Is this right?
I tried opening the downloaded jar in my local repository, but it said invalid jar file
!makepost @merry heath
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
every question regarding #1026104994149171200 should have it's own post. This channel here is just for general denizen discussion
Oh okay
oh hi AJ
!e player scrolls their hotbar
Player
player scrolls their hotbar player holds item
item:<item> to only process the event when the player is going to hold a specified item.
when a player scrolls through their hotbar.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.new_slot> returns the number of the new inventory slot.
<context.previous_slot> returns the number of the old inventory slot.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
Yes.
Im so confused with denizen, I think I will explode if the full wiki doesn't come out in like 3 months because the examples for commands are sometimes not very in depth so I can't understand it, like I don't know what define does, I don't know how to use flags, etc
nvm just learned 1/2 of the things
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
ye thats how I learned 2/2 of the things now
for some reason I just couldn't find it before
My NPC was created far away from the world spawn point, why does it disappear after restarting the server
help me
This is #1026104994149171200, Citizens questions go in #1027028179908558918
!channel
When you have an issue or question, please create a thread for it in the most relevant channel. Don't use #chatter, it's not a support channel.
#1026104994149171200 is for Denizen questions.
Citizens questions go in #1027028179908558918.
Questions about Sentinel should be put in #1024101613905920052.
Other minecraft/tech topics can go in #1027976885520584814.
Also look in #info for the description of each channel, or at the topic bar (at the top of the screen within each channel). That topic bar also links to the relevant readme file for each project, which contains lots of handy information and links to builds and stuff like that.
why the fuck do you think
RIP
pissed off the wrong people
That's a big mistake
oh really
based
based
when will you tell the actual story behind your dnt
Is it possible to change max_durability above it's default value? Or is that stuff fixxed?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
Drop-in ready script to let your players grab a bit of paper and snort lines of redstone.
type: world
events:
on player right clicks block type:redstone_wire with:paper:
- ratelimit <player> 1t
- playsound <player.location> sound:entity_fox_sniff pitch:0.2 volume:12
- cast speed amplifier:1 duration:30
- modifyblock <context.location> air```
brilliant
EssentialsX team wouldn't accept my PR for the same done in Java
Wasted potential if you ask me
honestly yeah
Like ok, we'll add a beezooka but not lore friendly talk powder
where do they draw the line
The worst part of making fun things is not making the fun things because you're distracted playing with the fun things you already made
Apologies for the frame-rate, just pretend you're watching a stop-motion film
What would y'all put on the other tools
oo that looks cool
I was thinking of using something like this for cool new weapons like idk a rapier that lets you charge forward and pierce enemies
Also congrats on active :p, welcome to #actives-only
Make the sword attract enemies to you then use the sweep attack particle, should be pretty simple to do and might look cool
yeye throw more at me
I have no idea what i'm going to throw on axes for non-combat stuff
Combat is easy because there's a million different ways to kill something that looks cool
How many variations of "haha chop tree" are there
I mean, could always animate the tree falling with armor stands
I might have to lower my expectations, I think I accidentally struck gold with this blast mining thing.
An addition like that isn't just a haha cool funny but never use it, I went mining for like 10 minutes with it on hand and it changed the way I was thinking and exploring.
It's hard to not just come up with mechanic ideas for the other tools, but also to make sure they feel like using them changes the way you think about playing.
A lot people do an axe that chops the entire tree at once, that can come in pretty handy
I might make a thread on this, cos this links into the rest of the perk stuff i'm doing, and might be worth keeping in one place as I expand it out more.
And could perhaps make it cooler & more balanced by having the tree not break instantly, but like, wood particles slowly breaking it and dropping the logs
^ Yeah a discussion thread is probably a good idea actually
I should show you my logger for this, it does animation to chop down trees
you need to wait forever to use blast mining again
what is the best java version for Denizen?
if you mean actual java, i think 17
if you mean minecraft version, currently 1.19.2, but soon there will be a new update for 1.19.3
There are dev builds for 1.19.3, but obviously as they're dev builds they're not guaranteed to be 100% stable
Is there a way to hide denizen made commands from being visible in the tab completion?
not having permission to use them will automatically hide them
got it thanks!
iirc denizen still has 1.12.2 version but is no longer in support right?
where was the link for that? I might need it for a minigame server
fyi also:
!event receives commands
Player
player receives commands
when the list of available server commands is sent to the player for tab completion.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.commands> returns a ListTag of received commands.
ListTag to set the player's available commands. NOTE: It is not possible to add entries to the command list, only remove them.
i at once thought about faking permissions with flags using this event to uh, basically create my own permission system with Denizen

not to derail you with a 'no support!' for using an ancient old version, but uh, i don't even think it exists in our jenkins site anymore
you should dump that crusty 1.12 version, it's out of your league :D
yeah it was an option just incase. only reason why we're thinking of using 1.12.2 is just to save perf for something thats just does nothing but minigames.
but I guess I can use something else lmao
saving performance via using old versions is a myth ;)
your client takes longer to reload and/or load resources initially, but the way Java works is that once it's loaded, you're good to go
1.19.3 loads faster supposedly
i haven't actually measured but that's the claim and it seems that way
it does load faster than some number of previous versions i've noticed
but i also havent measured it either
oh, first time I've heard of this. I'm actually curious
i can just tell its a bit faster, i dont have as much time to sip on liquor tea
I've been idle for a while now coz of all this holiday rush at work and changes
is there any event for when a bee enters a beehive, and would cancelling it work?
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
re-opening snowman question
if I use build_snowman as the cause... is there a way that I can attach the player that built the snowman for the flag? because <context.reason> just returns the cause.
but like i can't flag <player> in the event because there is no player attached...
You can use your existing post, this thread is for discussion, not questions
Oh you already have
Well for future reference no need to ask here, just use your post
sorry, thank you. i just wasnt sure if, since it was marked as resolved, it would be seen again
hello guys!!! looking for support with denizen (i use alpha 1.0.16 btw)
I was going to do a !makepost but realized you're memeing.
Clearly you just need to play indev.
Can somebody explain something to me? I was trying to make deathmessages not appear when player dies, but the problem is that it's linda not working?
my_world_script:
type: world
events:
after entity dies:
- determine NO_MESSAGE
I'm pretty new to Denizen, so I did something wrong here, but I don't understand what exactly
!makepost @calm marsh
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
Yeah, I already figured it out with help of helpers in another thread, but thanks anyway
didnt see
is it possible to print your luckperms rank in denizen, like is there a tag for that or smthing?
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
just wanted to mention the answer to this is yes but havent seen a thread for it yet, can always digress when/if you do if you havent figured it out already
just only saw the thread for location material lol
#changelog message thank you @low radish ♥
!channel
When you have an issue or question, please create a thread for it in the most relevant channel. Don't use #chatter, it's not a support channel.
#1026104994149171200 is for Denizen questions.
Citizens questions go in #1027028179908558918.
Questions about Sentinel should be put in #1024101613905920052.
Other minecraft/tech topics can go in #1027976885520584814.
Also look in #info for the description of each channel, or at the topic bar (at the top of the screen within each channel). That topic bar also links to the relevant readme file for each project, which contains lots of handy information and links to builds and stuff like that.
This is the correct channel as it's a Denizen error, but should
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
is there autocomplete for tasks and stuff for run? if not I think that’d be pretty neat
if this means a tab completion for script names to be used in commands like run and inject, that would be amazing actually
ye that’s what I mean
i can't imagine what it would take for the same as input for tags like <script[script_name_here]>
ALSO ALSO same for procedures would be great
yesss that's literally what i was just about to get to
<proc[procedure_script_name]> or <[tag].proc[procedure_script_name]>
but i still dont know what that would require or if it's even possible
would definitely fix my user error issues where i just type wrongly
Well it seems like that would be possible if it can detect whether a task exists or not so maybe mcmonkey has it planned
that's planned yes
already in the new extension version it'll error check those
so if you type em wrong it'll warn you
i want to also have it detect the definitions: setting on tasks/procs to assist in feeding the def/context input
https://meta.denizenscript.com/Docs/Search/cursor#locationtag.ray_trace
I think something went wrong with the name here
Search for 'cursor'
what do you mean by name? do you mean the thing that says Search 'cursor' on the title?
oh mb
i mean <LocationTag.ray_trace[(range=<#.#>/{200});(return=<{precise}/block/normal>);(default=<{null}/air>);(fluids=<true/{false}>);(nonsolids=<true/{false}>);(entities=<matcher>);(ignore=<entity>|...);(raysize=<#.#>/{0})]>
usually the stuff that it defaults to are not in the name (i think)
are you referring to the keys entities and ignore? everything else has the defaults in it (the things between the { and })
i mean it looks like it should just be something like <LocationTag.ray_trace[(<range>)]> like <LocationTag.precise_cursor_on[(<range>)]>for example. But maybe i'm wrong here. Just looks weird to me compared to everything else in the meta
oh oh you you mean the < and > surrounding range?
dafuq
oh man i'm really botching it aren't i haha
i mean the huge text amount behind ray_trace
ohhhh
It takes a MapTag as input
with different values and keys
which are all part of the tag
ohh, i see... <EnchantmentTag.damage_protection[level=<level>;type=<cause>;(attacker=<entity>)]> has that similar stuff aswell for example
that name was intentionally set to that
haha i totally misunderstood what you were asking about 😅
I have a general question, can I ask it here or do I need to start a thread?
if it's a general question, #1027976885520584814 or #chatter is correct. If it's a denizen question, then ye, make a post please
It kind of sucks you can't put down a description at the top like channels.
makes 0 difference
nobody reads em but i'd still appreciate the ability to put em there
Yeah.
it's kind of odd they decided to hide the guidelines by default
you'd think that'd be like, explicitly important for that specific forum
forces u to read em before ur first post doesnt it
unless the settings apply to every forum i don't believe so, just went to a forum i've never seen someplace else and it's still closed
that and re-displaying it, clicking away, and returning also closes it for the second time lol
[18:10:25 WARN]: [Denizen] This build of Denizen is not compatible with this Spigot version! Deactivating Denizen!
[18:10:25 WARN]: [Denizen] -------------------------------------```
how do i fix this? beacuse i dont know what spigot version to download
i downloaded the lastest dev build
java 17
but i keep getting this error
!makepost @lean elbow
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
ok what tags should i use 💀
The bot should do that automatically for you.
ok
Heh ... XD
Where denizen stores player flags?
How can i completely purge player?
Internal setter for the EntityTag flag map.
Do not use this in scripts.
EntityTag
MapTag
but im not sure if thats the right way to do it
i mean manually
a folder
oooh
unexpected
i thought it's stored in vanilla way
like in playerdata or something
denizen is always full of awesome surprises
it’s the unspoken part of the ✨denizen magic✨
- foreach <player.flag_map> as:flag:
- flag <player> <[flag]>:!
ez
um
i don't think thats how it works
foreach with a map will loop over the values
(unless you use key:<defname>)
so either
- foreach <player.flag_map> key:flag:
...
or
- foreach <player.flag_map.keys> as:flag:
...
shhhhhh
lets ignore the fact that i forgot how foreach works with maps
tbh i think ive never used it in a script
AWWWWWW YEEEAAAAAA
tbh lol would that even take a toll on performance, or is it just awful to look at?
maybe a tiny little almost undetectable hit to performance
but remember, clean code is worth your time
what
!t list_flags
!t flaggableobject.list_flags
Returns a list of the flaggable object's flags.
Note that this is exclusively for debug/testing reasons, and should never be used in a real script.
See !language flag system.
ListTag
Ooooo
save yourself a step
Didn’t know
but obviously generally just don't use either
How would you clear flags them
Then
- foreach <player.list_flags>:
- flag <player> <[value]>:!
?
oh wait
i misunderstood your question
Did you mean that you can use it to clear flags but not to use it in an actual script
you shouldn't build designs that require you to do something like that
if you'll need to clear large amounts of data at once for some reason habitually, put it under a submap
yes
Alright
depends. A compiler would optimise for a for loop versus hard coding, but that's using Roblox Lua. A just in time compiler like LuaJIT would probably also perform better with a for loop versus hard coding, but Roblox uses Luau, which is a version of vanilla Lua with some stuff taken out and some stuff added. Not quite a superset or subset. A sideset, I guess.
oh no i meant in general lol
In general what? Languages don't all work the same so there's no way to answer if a for loop is faster "in general"
If it's compiled? Likely
If it's JITted? Possibly
If it's purely interpreted? Probably not
In the case of specifically LuaU? Probably not, because I don't think it's JIT compiled.
In the case of Denizen? Maybe? I remember monkey saying something about some stuff being "compiled"
oh thanks
#actives-only message
sometimes when a block's material is modified, player's client can't receive the updates in time, until you manually click on it or do something to make client receive the update (like reconnect to the server to make the chunk update). is there any denizen command or player's mech which could let player's client update a location's material?
i find out a chunk mech refresh_chunk that maybe works for me, but will this cause server lag if i make a script like this?
test:
debug: false
type: world
events:
on block physics:
- adjust <context.location.chunk> refresh_chunk
!tias
Try it and see!
If somebody pulled this up for you, you're probably asking a question of the public channel that's easier and faster to figure out by just attempting your idea in-game and looking at the result of that attempt.
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
can i also type here?
you can absolutely type here, just mind the pin
brainstorming posts go under help/support or discussion?
like 'hey i want to do this but no idea how to approach it'
help
in response to this I’m not crying out for help
balls 🪩
Should note, if they get into using Denizen and figure out the basics, you should encourage em to join this discord
(but feel free to keep dealing with em yourself for the duration of 'how do i commands' lol)
We're currently at the stage of me turning down their request for access to my console on prod
So I think I'll nurture them for a bit before unleashing them
They have a good spirit, just starting from absolute 0
ohgod
I want to nurture their energy, i haven't seen someone wanting to self start this bad since like
2015
hell yeah
that type of attitude can lead to great places when nurtured well
or to nimsy places when not
also love the attitude of wanting to nurture that from you
lol
that's incredibly awesome of you btw, i wish i had that pre-denizen when i was strapping plugins to my server via duct tape
When I started to learn resource packs no one helped me for a long time. It was very frustrating. When I find people who want to learn it and don't want to use IA I do everything I can to help. I have even jumped on video chats so I could see where they were going wrong.
That's mostly what I do as a helper on ModelEngine. That and I am the only one who gives Citizens support.
same here, 100% (except the video chat/voice chat thing, im a numbskull if it isn't being typed)
whats the reason for mysql saying "It should never be used for storing data that only Denizen needs to use. Consider instead using Command:flag." surely its a hell of a lot faster to use a db
particularly for large amounts
surely its a hell of a lot faster to use a db
nooooooooooope
not even a little
it's way slower
and way harder to manage
that genuinely surprises me
KISS principle - keep it simple, almost always applies in software
What's faster?
A: a value in RAM changes
B: several values in RAM change, construct an update packet, sends over local network interfacing, arrives at SQL server, gets parsed and processed, execute the custom statement, change value in RAM on server, validate and store, return result over network, complete connection
ah
well my understanding of flags was that they're written & read from files on disk
so that would be why lol
they're in RAM, they get saved to and load from data drive
even still i guess its slower but my SQL is local
that's not happening every time you do a flag command
neat
local SQL still goes over network
i even specified sends over local network interfacing,
ye but i mean compared to off-site that will help some with the speed concern
if it did read/write to disk would mysql still be slower
just out of curiosity
yes
compare B to
C: value in RAM changes, send data change to drive, wait for drive confirmation
still got way fewer steps
ye i guess i didnt understand how either works
when you're dealing with SQL it probably is going to interface with data drive more often as it can't inherently know what to cache in RAM or not the way flags do
flag system knows if a player is online or not, SQL doesn't
pretty cool always figured that was slower but apparently not at all
thank u for the databases lesson 💀 more in 5 minutes than my college has achieved in a year
You know I feel like this is a pattern
So many instances of a few minutes online teaching more than a very extended period of time in school
Yes it's terrible where i'm at but that makes it super easy if you have literally any experience doing it yourself, like a "Software Development" class where the requirements for an A+ can be achieved without developing literally anything
they actually have recommended that to people openly
hah ours has peaked at "import a number and multiply it by xyz and output it" as a 'currency converter' so it seems like ur doing better :')
Yikes
yeah it's pretty bad
My school lets students host student led activities, maybe I can create an actually good course idk
Eh too much time and online solutions are better anyways
thats true
i've been trying to teach my little brother lua for roblox and he's enjoying that so he can take same easy route to uni that i have lol
The worst of the worst is if the course forces you to use a certain language
That’s really nice of you
Like I’ve seen courses that force you to use basic
was his idea and he's exact same age i started with same language so it seemed right :')
yikes all python here which i hate but compared to that
My preferred language is typescript but I don’t think my school even teaches it
Anyways if you want we can move this to a separate channel
Not denizen anymore xd
probably should yeah
how terrible of an idea is it to have a server that exists purely to run a denizen discord bot or webserver api? being that it hooks into other servers using bungee but i only want one instance
how did you learn luau? Roblox’s own tutorials were way too confusing for me
it was just too much at once
i didnt do it for roblox i learned for dont starve mainly
just opened the files downloaded some other mods and kinda went from there
never did any actual course or anything
oh wow lol
had verryyy basic knowledge of javascript but thats completely gone from my mind now
that would've been from codecademy cus i was interested in website building a year or two before lua
am i wrong for looking at lists as being functionally similar to arrays?
In terms of how they work, they’re pretty similar
the difference depends on what concept of 'arrays' you're referring to
in many languages, Lists and Arrays both exist
(C#, Java, etc)
wherein the key difference is an array is a low level access to a chunk of memory with multiple values in it that cannot be resized
and a List is a convenience wrapper over top of that which can do removals and resizes and etc
the Denizen list is equivalent to a List in any lang that works that way
thank you for the clarification, im a humble Python/PowerShell scripter so not something I would have picked up on
is that why its called ArrayList
that's Java's name for the concept, and yes
Java's ArrayList is literally just a class that has an array in it
and size lol
thanks java!
at what point do you guys think denizen becomes server intensive?
install 👍
bad written scripts
at foreach BIG LIST/MAP: BIG ASS SCRIPT
5 foreach loops within each other
after scripts reload:
- reload
!e error
Core
Abusing this event can cause significant failures in the Denizen debug system. Use only with extreme caution.
script generates error
when a script generates an error.
<context.message> returns the error message.
<context.queue> returns the queue that caused the error, if any.
<context.script> returns the script that caused the error, if any.
<context.line> returns the line number within the script file that caused the error, if any.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
After script generates error:
- debug error hi
after script generates error:
- nonexistant command
myscript:
type: task
data:
a: <script.parsed_key[data.a]>
script:
- narrate <script.parsed_key[data.a]>
the fuck would that actually do tho
It would recursively parse the tag
@graceful laurel now you have also examples of bad written scripts
I will be sure to implement them all in my server
to ensure the worst player experience possible 👍
That depends on how many tasks you have todo in the loop. If you have much processing you can split the processing into several ticks with a wait 1t every X loops so your server can still do other stuff.
!e on packet
on player receives packet:
- determine canceclled
lmao
how to not
me when I realize it would be easier to make a randomized ore generator in denizen than actually programming a mod myself
real
I’m really liking all the new tab completion stuff and enhancements to the vsc extension. It’s very helpful 
If the chat command is causing issues, do I consider it a denizen issue or a citizens issue?
Depends on what issues, if it's something you can replicate purely via Citizens commands then can make a post there, otherwise can start with a post here and make one there if necessary
Well since the chat command is added by denizen, I'll default to denizen unless told otherwise.
does Denzien have any dependencies? it's not enabling for me
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
it doesnt let me
You need a title.
small thing btw “invalid tag base” throws two different errors of same thing in vsc, is that intended
hehehe that's so awesome hehehe
not entirely intended but harmless and would be a bit annoying to prevent
Whoa cool
imagine being able to ctrl click a tag and bring up the meta documentation, ctrl click a proc/task and then go to the line containing that script
nah
imagine if we could use ai's to webscrape the meta and ask it to just tell us how to write the tag we want
imagine if denizen had ai built in
imagine if we didn’t have to use chickens and pressure plates to simulate rng
dont vote against the fuckin copper golem them
copper golem on top
deserved the w
idk if ctrl+click is the proper key or not but this is a thing in vs code and is already an intended thing for the Denizen extension
(idk what the key is i always just right click -> go to definition)
we call that mcmonkey
Hi, quick question (hopefully): can the "- FileRead" command read .txt files and if so what does a valid path look like? I have it enabled through the config.
#1026104994149171200
oh noez I'm sorry, didn't see the channel description
Isn't it valid to use command arguments like this? - schematic flags:false - schematic flags:true
I thought i saw this somewhere
Oh, it is. I just messed up definitions
@cyan lodge re: #1064231619919093830 message
this was your first (and only one of two messages) here in the discord
are you a new account of an old/abandoned user here?
just would like to verify since you're making a helpful attempt to support others here
it's weird for someone to show up anonymously with the information you're familiar with
more than happy to have an extra person in the community providing support regardless, just curious
I'm pretty new, only started using denizen 2 days ago, but I'm pretty familiar with java and how minecraft works.
I also went through most of the guides and read a lot of the meta, that's what one should first do when they are trying something new, I figured.
Why would I use denizen if I know java? I mean, it's an amazing project in my opinion, performant if used right and can be a huge time saver, specially when you want a simple interaction with another plugin and depenizen supports it, why wouldn't I use it.
I was going through the threads to see what people can do, what kind of problems one can face, and I'm used to always provide help when someone is struggling with something, specially if I have the knowledge to attempt to resolve the issue.
So in time, the more I learn about what magic you can conjure with denizen, the more active I will probably get in here, the more opportunities I will have where I can provide some sort of assistance.
😀 awesome!
Why would I use denizen if I know java?
common question asked to developers who are familiar with both Java and DenizenScript, your answer is fully justified
I'm used to always provide help when someone is struggling with something
sincerely appreciate that, thank you
I just discovered ChatGPT can write denizen script?!?!?! this is amazing
It seems to make a lot of mistakes in the denizen scripts it writes from what I’ve seen but the basic idea is there. Would need further editing from you to be useable but is still very impressive 
AI is definitely getting better though
Yeah its not as cool as it initially seemed.. it looks like denizen code but it's not exactly drag-n-drop ready.
better to write your own scripts, chatGPT might be useful for extending things like enhancing NPC dialogue or something, but it's not gonna write a functional script all on its own
some people have had success running GitHub Copilot with Denizen for that purpose though
I just used it to write 25 sword item scripts with different names and lore. Works great but sometimes i have to stop it when it starts doing dumb things. I have also had it write book scripts to fill my world with.
yee, anything like that where the format is just repetition and the content is unique human-readable text. That's what GPT, a language model, is designed to do well
The model its using is the same parent as copilot, and I'm at the limit of using it as a fancy tab fill for boilerplate or iterative code blocks, even outside denizen into something more accepted like C#
I often find it's easier to ignore it until you're working with enough project size for it to pick up enough context, but even then it's temperamental unless you plan everything out in comment blocks and do things the way it expects you to
you're working with enough project size for it to pick up enough context at least with copilot that happens at all. With ChatGPT it has no context unless you aggressively feed it every time you open it
Overall while it's had its moments, Ai isn't ready for me to in any way rely on it. I was also tempted to start using it for documentation on support articles, but I've never gotten over the fear that by not writing it myself I'll misrepresent or exclude something and cause trouble down the line.
Ai isn't ready for me to in any way rely on it yeah absolutely not ready to rely on at all.
It's a tool and nothing more
I'm terribly interested to see what companies can do with the up to date 4 model with this trial data and proper access to both context and the internet
Microsoft is in there deep right now and I can't wait to be scared by what they try and do with it
I give it a year or two tops before I can add gpt enhanced azure ML services and construct elaborate chat dens with naughty AI chat bots
They're going to find a way to add critical thinking to my monthly bill from daddy gates and I'm here for it as long as they add it to .net
I say that in preparation. It'll get there eventually, but we're a long way off just yet.
The fact it can understand the context it does right now and offer responses is pretty scary to explain to someone from even like 2015
Or earlier
Remember cleverbot
Obsolete but not in my heart you occasionally lucid angel
Working on player friendly particle painting and I accidently made the coolest ghost bridge
it glows when you step on it
that's awesome, damn!
Cool!
Whoa! That's cool. How do you not fall through the particles?
theres a barrier underneath
Ooo I do see the outline now.
is there not any timeout functionality in dDiscordBot? is that a valid feature request
there is not, but it's an active feature request
i can teach you how to use web requests via webget later alternatively until it's implemented if you'd like
sounds interesting but can that check if they are currently efficiently
idea is to tie in-game chat to discord timeout instead of using a janky mute bot
👍 sounds good
rn i have a terrible discordsrv implementation using rolesyncs & permissions which does not work in most cases lol, overdue to get rid of it for denizen
do you use the uh
the feature where you use webhooks to replace the bot's pfp with the user's in-game face?
eg
ye
i ask because it's also a long lasting feature request, but low priority
i can show you a quick example of using it also
i love the idea of replacing discordsrv
behr's dDiscordBot guide
me too 💀 very limited and really annoying quirks

really bugging me how many bots is necessary for basic function on multiple servers
yeah it's been a huge bother trying to work with discordsrv, so much that i had someone teach me how to replace it entirely
and it's gotten worse, because of that fact
they literally want like five bots for what could just be one task
i'll open a thread and @ you in it when im ready, i just have a few things to do irl at the second
i just threw together a real quick discordtimeout command for dDiscordBot because i was like "yay something to do!" when i saw sudura asking about it so i might be able to PR it either today or tomorrow after a bit more testing :D
oooo, awesome! thank you!
i think discord's timeout system is much better than trying to manually disable them from every channel and strip their permissions by overriding the others lol
i'm going to open the PR tomorrow. i've done enough testing and it works but i just like to wait a day or two before i open PRs just in case i miss something 😄
Oh if you guys are playing with webhooks you might find this useful. I just slapped it together because I needed to practice some blazor stuff but i've kept it up: https://b-sbg.azurewebsites.net/webhook
Lets you test out webhook profiles before hardcoding anything, if you login with discord you can save and load profiles.
I mostly use it to tool around with the profile pic alignment, but we have a version with a dropdown list of channels instead of the url field for our discord so we can have anonymous stage shows with fake bots
Also of interest, we have a #console channel through discordsrv (until I remove it soon™️), you can straight up just send console commands as a webhook and have it work. The 'cook ninja' button at /ninja on that site just runs "burn ninjafied 3s" to console every time you press it.
Fun stuff
Oh and further to the whole ghost bridge accident, here's the current particle stick progress. I decided to try and take the same approach that the debug stick has, though with a GUI since there's a fair amount more options available.
oh shit this particle stick is so good
Yeah I literally have one shape and I already wasted an hour playing with it last night
Now though, I think everything else except for the shapes/animations are done, so it's time to go perform fake block game calculus and cry for a while
ANIMATIONS?
god damn
i will look so much into your script when you finish it to learn that shit
now tell me. will you do a huge pentagram shape.
tridimensionally
I was toying with the idea of making up a lil C# tool in a web browser that lets you draw and generate these shapes/animations and just plug em in
Mostly as a challenge and a tool of the lazy man
But I have everything set up in a way that should let it work.
can it make a donut
post repo pls
let’s gooo
ill look
Just um
Realize I started this thing last night so it's a warzone in there rn
It's also very cluttered with inventory/menu stuff because I wanted this standalone so didn't use anything like Mergu's epic gui tool or my existing helpers
ye have been warned
epic
the scripts actually really well done
cant wait to see it fully fleshed out and complete
that's what she said
ok math time byeee
kek
make a whole denizen math library while youre at it thanks 🙏🏻
What's it missing, I haven't found trouble trying to do any math stuff so far
I gave up working with vectors while I was mucking around with some projectile scripts a while ago, but that's just a personal failing.
vectors only work for specific particles that might be your issue
Oh I meant like
the denizen generic vector stuff
not specifically particles
Say I want to adjust an arrow's trajectory mid-flight
relative to something else
kinda stuff
ohh
Python is not a language a game should ever be written in
lol why
I will die on a hill about this
I think Codebullet had something about pygame. He couldn't connect his AI to it, and there were some framerate issues.
iirc it just doesn't have vsync?
woah werent u purple name
I've only been using python for about two years so I don't know why but every fiber of my being just says NO at the thought alone
lol
python perf ain't amazing
for a simple 2d game it'll be fine but if you try to get fancy the language will limit you
for the same reason you wouldn't write a whole core game engine in Denizen either
AI software running on python works out because it doesn't run on python lol the AI runs on the GPU with CUDA code mainly
(though even then, python AI code is slower than if written in other toolkits)
i see
Most AI frameworks for python are written in other languages like c 😅
yeah
Very few are pure python
that also means it would only work in cpython tho
I unno I'm just regurgitating something I heard from somewhere and I have the worst memory so it could be nonsense
stuff like numpy are also c
But I do remember having to use a C compiler on some python dependencies on my arm system
yes, PyTorch (the main one everyone uses) is just a wrapper for Torch (written in C) which in turn is just a toolkit to forward method calls from cpu instructions to CUDA
also has a performance hit for reasons explained @ https://www.semianalysis.com/i/97006309/tensorflow-vs-pytorch
Hey I'm not crazy!
totally got the spooky circle working for you
Going to add a bunch of shapes first, but then go back and try and get a version working with dust that accepts colors
and if I can the dust and some kind of fast pipeline going for the conversion (data tables without import pandas speedrun any%), i'm pretty sure i can go as far as streaming video into particles with this setup
woah what the fuck
Oh I missed a message, whoops. Context: We can convert sprite sheet (like png) to particle grid and feed it into my denizen thingy now
where is the repo for this
I am currently in the middle of deconstructing a Japanese image to mcfunction converter and ripping out the parts I need
This is like
very early work
but i'll remake it and put it into some form of webserver script
so you can just open a web browser, upload an image and play around, then save it as a notable ListTag for you to call with my particle thing
woah
As of right now, it would take longer to explain how to do it than it
than just working on getting this for y'all
In the meantime, pick out your favourite demon circle from here: https://ciaccodavi.de/qbdp/acg/
and i'll put it in
shit bro we gonna have decals in minecrafy
ye, this is video from the original software for the image to particle conversion, but that's setting the particle data in stone prior to generating the function it gives you. My stuff was designed to let the player choose particle and rotation and stuff so it's got a bit of work before we get back to how it is in this video
lemme see if I can get a clip that's more than 3fps
bro what the fuck
dmodels with particles
this shits gonna be so sick
how resource heavy is this?
Lmao
If your client can handle the particles, the server will cram them down your throat
I haven't been able to notice any performance impact on the server, and we've tried to stress test it
is it not impactful with all the rotations?
I haven't added animation to any of the shapes yet, but there's no difference between a 20fps animation and playing a static shape 20 times per second.
With that in mind, rotations shouldn't make any difference to performance no.
ah thanks
appears to be not terrible
yo wtf is this black magic
stick
armor stand models: if you have 5 entities spawned it'll start to lag be careful :(
particle effect models:
fps -120
I thought I knew everything about particles and they hadn't changed much since I last dabbled in like idk 2016ish, but not only are they no longer stupid resource hogs, they also have stuff like interacting with nearby entities now?? very cool discoveries
I'm also starting to think a demon circle might not be the best choice for a test image
Alright boys I got a barely functional but no major issues version working for you:
It's all i'll be using for now, does most of the work I wanted to avoid doing manually
You'll need to build it yourself, targets .Net 3.1 so make sure that's installed. VS chads can ignore that warning, should do it for you.
... 3.1?
oh this is a 2 year old project
.net 3.1 is EoL as of last month
yes well, I think I've decided to use this as it is for now, and just make my own from scratch in 6/7
that way I can just throw it up on my site and not have people building a hackjob
oh my fucking god i love this
yeah we're gonna have to get you a better image to work with, here try this one!
I wrote a system that reads raw binary from bitmaps and renders it in-game as text! : D
I've been wondering, has anyone managed to make a 1 px custom font character with absolutely no padding?
holy shit
:3
That’s actually so cool
Thank you!
I wrote binary endian inversion and applied it to every pixel color, then reversed the order of the rows
now it follows the original perfectly : D
showcase worthy
here's another one I drew and added : D
I really wish to implement a 1px font character rendering if that's possible first o:
This is like alchemists pursuing gold transmutation, I feel your pain.
oh nooooo, is it really impossible? 😿
If we could just get some way to have performant pixels without having to bend a mechanic to our will. There's obviously the demand for it, look at all these particles/maps/bookshelves/restore etc. Displays
Tell you who might know, uno momento
Maybe it's best if I ask what you're trying to achieve first, but also
I was just messing around with the ascent and height on a "bitmap" character and it got be wondering if using "ttf" type instead with scale would squish the vertical line spacing to nothing
@shut sedge has some pretty wild work done with resource packs. Not sure if that's the person that made the thing I was on about but
This was one of his
What are you trying to achieve with it?
You might be better served by a custom particle instead
I am trying to fit all the block characters in chat perfectly so they have absolutely no spacing between them
Look at something like the block marker particle but 1px size
Yeah but like
To what end
Oh yeah I've seen his stuff!
I think 0Tick did something with displaying images in chat a while ago?
I'm not sure if what I'm trying to achieve is even possible >_>
i remember it being on his tab - though it maybe should work on chat too?
Oooooh?
@mossy egret psst psst
Keep in touch tho mamashice, I'm going to be looking into trying to make a display stream process again in the next few months. I have some ideas I wanna play around with so any knowledge I can steal is gonna help big time
These chiselled bookshelves are one thing I wanna try out, block state changes are a lot less resource intensive than something like entity nameplates for text displays or particle grids
So with some resource work and wacky code I reckon I could get a colour display going
Someone on reddit already got black/white going at tremendous framerate
just an image in chat? You can do that with font unicode.
Ah yeah here we go https://youtu.be/v6e8hrWweEY
Bad Apple animation on the Chiseled Bookshelf added to Minecraft in snapshot 22w46a, implemented using a data pack and a custom python script. The video plays in realtime, but audio was added afterwards as it doesn't use a resource pack.
Source code and datapack download (in releases):
https://github.com/kasamikona/BadAppleBookshelf
This video...
i wonder how far this could be pushed....
I'll keep expanding my img reading and writing system until then and will probably be able to give you optimizing help
I'm also working on a snowball entity 3D point cloud rendering system
that's pretty much compatible with any other type of entity or particle
Like, for actual clouds?
mostly for big 3D vfx
nothing that really pushes into having 1000 snowballs on screen
nah no way i dont believe this isnt sped up
That's what I want to find out
thats like 30 fps if not 60, mc runs at 20 ticks
particles however are way lighter