#Open Denizen Discussion Thread

1 messages · Page 14 of 1

grim quail
#

And maybe sub options of just regular dialogue. But that's gonna be it's own issue.

mossy tide
#

Ah yeah didn't even think of flag dependant options

#

Ah I can probably just have it fail to do the narrate if the option isn't available. It'd screw the numbering on options, but I could prob fix that with element magic

grim quail
#

Lot of flag reliance would be necessary. For ordering and such.

mossy tide
#

Eh for now, simple we'll see what we want. From what I understand it's just basic tutorial quests so far and some small shops.

#

Like I want it to be a cool rpg with detailed npcs and quests, but at the same time I don't want to do it all myself haha

grim quail
#

I get that.

#

I have a habit of wanting to do everything myself because I made a lot of it, and I know just how things work.

mossy tide
#

I know that I'll probably have to do it myself anyways since the other dev is absent most of the time

spiral yew
#

Tried to help that fella out and ended up with some kind of broken sphere particle emitter

#

Can't figure out why the rotations get converted back to world coords so I am throwing in the towel for a more qualified person to help them 😅

#

What's everyone else up to?

unkempt tinsel
#

Can we spawn a map ( map art for example ) as an entity so that the map would be seen ( not just the item) or it is only possible through spawning item frame with map in it?

weary mothBOT
# grim quail !makepost
Info: 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!

hallow scaffold
#

Has anyone here used Denizen with version 1.21.3 and had no output with the playsound command?

mossy tide
#

I think I did notice the format for the path on sounds changed

#

Could be wrong, but I had to change something like that when stuff wasn't working

#

It changed from using _ to . or maybe it's other way around

shrewd estuary
#

Also, teleport relative is bugging. Remove relative and tp works fine.

wild cosmos
#

oh lol what did they remove backward compatibility

hallow scaffold
#

Hope denizen will do that

worn oak
#

omg pls undo that!
I have over 3k scripts
I wont have the passion to went throught them all

#

or pls add backward compatibility

low radish
#

wtf

#

_ names for playsound should still work

#

and it's a bug if not

spring lodge
#

Does a dropped Item's EntityTag not take glow_color like I expected?

unkempt torrent
unkempt torrent
terse osprey
#

quick q, what dev build is the latest for 1.21.1? Tried latest but it conflicts with my citizens version.

#

dont wanna update citizens since it breaks on purpur 1.21.1

unkempt torrent
#

!makepost @terse osprey

weary mothBOT
# unkempt torrent !makepost <@173946287421521920>
Info: 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!

unkempt torrent
#

Please make a post for your question, we usually dont give unsupported builds out, especially when only dev builds exist

terse osprey
#

will do, I usually dont ask either, but 12.1.3 support is taking a while for a few things

spiral yew
#

Mind if I ask how denizen targets 1.21.4 when it's not out? I noticed that even before the paper builds were out you were able to work on the new stuff.

#

Do you target spigot during that time gap or is it always targeting spigot?

#

I never actually keep up with the spigot updates since I exclusively use paper 😅

fleet kernel
hallow scaffold
#

Lets hope Mojang isnt too fast with Updates, all the Plugins never win the Race to be stable xD

mossy tide
#

I just want an official API for modding rather than more datapack slop

low radish
#

paper is an optional addon

#

that can't change until paper does the hardfork

#

ie paper stops being "a fork of spigot" and starts being its own platform

spiral yew
#

Oh cool, right on then.

#

That makes more sense honestly.

spring lodge
#

Quick question, does Denizen offer the ability to change nametags / above head hovers of player entities? If so, can someone point me to the meta that might help me out?

dawn flower
#

!makepost

weary mothBOT
# dawn flower !makepost
Info: 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!

spring lodge
#

It isn't a script I'm asking about, it isn't a bug. It was a simple meta request, but okay.

dawn flower
#

Support question nonetheless :)

shy remnant
#

hey whats that rank command?

dawn flower
#

it's just /rank

shy remnant
#

Ah gotcha I was trying !rank

hallow scaffold
#

Will it have an impact on Denizen if Paper hardforks?

low radish
#

we'll update to primarily target Paper only once it's ready

#

and finally get to drop spigot

#

:D

wild cosmos
#

no more buildtools yay

austere warren
#

yay

raven barnBOT
#

+> YAY!!!

hallow scaffold
#

this is why i love denizen!

fleet kernel
#

WAIT

#

THATS FIRE

#

might actually be able to controbute now

low radish
#

if having to run buildtools prevented you from contributing thus far, I don't think this changes much

#

it's literally download a jar file and run a terminal command a few times in a row

#

a bit annoyingly slow yeah but 10 minutes one time and you're done until there's a new minecraft version

#

if that's too hard, the requirement to compile and test edits to java source are gonna be out of reach as well

fleet kernel
#

dont think i had enough storage or wtv

low radish
#

w h at

#

how did you run out of storage space

#

you need like. 1 gig? maybe?

#

my build tools folder for every version from 1.8 to 1.21, including patch versions within, is 7 gigs

#

if you have less than ~10 gigs free your windows will shit itself

mossy tide
#

I have a thing here to pick 3 items from the player's inventory on death and then drop those items where they died

#

Otherwise I have keep inventory on

dawn flower
#

do you.... just want 3 items from the players inventory that aren't air?

#

there is a much easier way to do this

mossy tide
#

I'm sure there is :)

#

Fully open to suggestions

dawn flower
#

!t inventory.map_slots

weary mothBOT
mossy tide
#

Ah, that might help

unkempt torrent
#

(a helpthread probably makes sense here)

dawn flower
#

you can make a thread if youd like :)

wild cosmos
#

dis cursed as well

mossy tide
#

very :)

#

It was so I could grab the loop of the repeat

#

But hey, it all works

#

I've got it so if it fails to find an item 15 times it'll just skip it and mark it as null.

wild cosmos
#

😭

low radish
#

put that in the Cursed thread not the open discussion thread

#

or open a help thread for "how do i write this not horribly wrongly plis help"

grim quail
weary mothBOT
# grim quail !itworks
Info: itworks

Many newer scripters tend to not realize the important difference between "it works" and "it is correct". Just because a script works does not mean everything's fine.

Helpers are encouraged to refuse to continue helping a user with the "if it works it's good enough" mindset until they fix all the things that are wrong (but seem to work) in their script.

Read a longer writeup explaining this idea on the forum here: https://forum.denizenscript.com/threads/public-information-writeup-the-it-works-fallacy.265/

grim quail
#

I should write complicated scripts for the meme in the cursed thread, just to see if I can overcomplicate things.

low radish
#

using a filter and a .random[3]

#

but also none of that cursed define shit, at least use a listtag ffs

mossy tide
#

Couldn't find the cursed thread easily, sorry

#

It'll get fixed later no worries, mostly just wrote it up so I could get it down and in a "working" state until I can refine it later.

#

You always can fix and make stuff better later.

#

As long as you aren't putting out content that is meant for players and is broken and intentionally ignored to be fixed later, otherwise the only person you are letting down is yourself.

fleet kernel
#

i dont fully remmeber

mossy tide
#

So asking about this #changelog message

Is this to do with how on a recent update with spigot it broke support for using _ as spaces in names for things like Sounds in favor of using . ? Which version should be officially use going forward when referring to sounds and particle stuff when coding in Denizen?

#

(I haven't updated my denizen since a week ago so it could be fixed by now, just curious what is needed going forward)

hallow scaffold
#

Use the . between, thats now the correct way

fleet kernel
#

ive been having a habit of using:

dvreload:
    type: command
    name: dvreload
    debug: false
    description: Reloads Denizen scripts
    usage: /dvreload
    permission: valor.dvreload
    aliases:
        - dv
    script:
        - reload
        - narrate "<gold>Denizen has been reloaded!"

/dv for like all my servers because /ex reload takes too long

grim quail
#

That's almost the same thing???

#

Oh you use /dv that works too.

old venture
#

i had a macro set up to shift+z+x for the ex relaod

#

found it if anyone wants

#SingleInstance Force
+X::
{
if GetKeyState("Z") {
    SendInput "T"
    SendInput "/ex reload"
    }
}
#

its for autohotkey v2

grim quail
#

That's one way of doing it.

#

Or macro it like you do minecraft does with reloading resource packs, something like Shift R if that's not already hotkeyed.

old venture
#

oh yeah thats a way better hotkey 😭

#

that'd be

#SingleInstance Force
+R::
{
SendInput "T"
SendInput "/ex reload"
}
mossy tide
#

I used a macro mod that just sends the reload command. Best idea I had early on instead of writing out the command every time

foggy ember
#

*cough* #1131872289688928266 *cough*

wild cosmos
#

i just type it out... because.. why not

low radish
#

idk, shift+R? that's two whole buttons. need to get a streamdeck so you can hit a single dedicated reload button

mossy tide
#

Hey speaking of denizen reloads, does anyone do deving while using the Mod REI or another inventory mod like that? I noticed that when I do a reload, it for some reason reloads that too which is extremely weird. My guess is it detects when server recipes are reloaded and auto reloads too. It's weird though. (I could just be on an old version of the mod)

low radish
#

. is modern/accepted, but _ is fully supported

low night
#

i just went ahead and slowly started making progress to making everything use . now

hallow scaffold
wild cosmos
#

lmaoo what is that emoji 😭😭

hallow scaffold
#

Old slow pepe

dim hawk
#

where can i use the bot commands

wild cosmos
#

#bot-spam

static breach
#

Hi all. I'm building some NPC's. And I have some things they have to say.
But I notice I print too much text to the screen so it becomes a lot to read. I tried adding colors and linebreaks but it's still a boring wall of text.

Does anyone have tips to make conversations nicer to read?

limber berry
# static breach Hi all. I'm building some NPC's. And I have some things they have to say. But I...

I mean, one solution is to use 🌟 less text🌟 , eg shorten it with ChatGPT or sth. like that ... but you can also use various UI elements that Minecraft provides to make the text more appealing to look at, eg using the book UI, the title command for short messages when a player enters some area or stuff like that or going as far as using a Resource pack to display your text in other places. You could also use text display entities that pop up next to the NPC that is talking, like some sort of speech bubble. ... But using the chat is the easiest and fastest method to implement imho.

craggy jolt
#

Where can I download Denizen for 1.21?

unkempt torrent
#

I asked you to make a thread :(

#

You need to click #1026104994149171200 and create a post at the top side of your screen.

craggy jolt
#

Well, it's just that I don't know English well.

fleet kernel
#

are item components supported yet

#

😞

unkempt torrent
#

There is an experimental mech

#

which works SCgrin

#

also some item mechs are backed by components already

graceful laurel
wild cosmos
#

lmao

hallow scaffold
#

meta down

unkempt torrent
#

up for me

lean seal
#

Will Denizen support Paper since they announced becoming a hardfork?

fleet kernel
#

!m components_patch

weary mothBOT
# fleet kernel !m components_patch

(Property) Sets the item's internal component patch. That is, the changes in components on top of the item type's default components.
The map is in !language Raw NBT Encoding format.
This is mainly intended for item data persistence, and scripts should prefer using proper item properties instead of setting raw data directly.
If you're trying to control custom data (such as data set by other plugins), use !property ItemTag.custom_data.

Group

Properties

**WARNING**

Due to this being a direct representation of internal data, compatibility for script usage across versions is not guaranteed.

Object

ItemTag

Input

MapTag

Tags

<ItemTag.components_patch> (Property) Returns the item's internal component patch. That is, the ch...

fleet kernel
#

??

unkempt torrent
#

#1318503795625426954 message

mossy tide
#

So question, will the extension for VSCode get an update so it supports/autofills the sound tags with . instead of _?

#

currently it still uses the _

#

I suppose this'll probably change when we move out of it just being on the development build and be stable as a change

low radish
#

eventually yeah

limber berry
#

I thought updating the sounds to the new format would be a pain in the ass. But mostly only the dot thing changed, so find and replace operation for all the sound categories and boom, done in 10mins.

low radish
#

be careful, it's not swap _ for .

#

eg there's plenty of block.ancient_debris.break type stuff

lean seal
#

Is there any script for anti dupe or something like that... Or some concept for it?

unkempt torrent
#

What anti dupe?

lean seal
#

For items

wild cosmos
#

?

unkempt torrent
#

Probably better to make a thread and explain in full detail what kind of dupe exploit you think of

limber berry
#

Is there some list of old Denizen tags vs the Minecraft tags?

#

so I can compare directly

limber berry
#

nvm found it

lean seal
rigid idolBOT
old venture
#

you have to approach every single exploit individually

#

you're better off just getting a plugin for that tbh

#

although paper on its own already provides some anti dupe/exploit

#

with no tinkering needed

fleet kernel
lean seal
fleet kernel
#

ie a passing check is when a player picks up redstone dropped from a broken block or somethting within those lines of logic

lean seal
#

Im not familiar with modern dupe techniques, my last public server was on 1.8.9, im not sure how it work really hahaha

#

It should be possible to track and cobtrol custom items made by denizen?

fleet kernel
#

i had a system to try to log where every item was on the server

#

but it was just a pain to get all the events and stuff

mossy tide
#

I had thoughts about trying to emulate CoreProtect, but I quickly realized logging is annoying.

lean seal
mossy tide
#

Should be, but it doesn't do what you wanted. It just tracks block and container updates

grim quail
#

Reminder that mcmonkey used it

#

You could replace it, just be careful about how you do it lol.

#

Don't be like me with maps within maps and cause the servers memory to clog up because of the many many many many flags I had.

#

Also don't log hoppers.

graceful laurel
#

coreprotect is one of those plugins that you shouldn’t really try recreating lol

mossy tide
#

I'm probably just going to log when people lockpick chests or trade with NPCs so I can get an idea of the economy of the server.

fleet kernel
#

or just a text file

#

and ctrl+f

mossy tide
#

I might need to learn how to do text file editing so I can store data like that rather than map tags in server flags

grim quail
#

Alternatively, use a list.

#

Put the timestamp in the front of the message, and build the rest.

#

Also I was thinking of location flags, but maybe server flags may be better. Or chunk flags.

mossy tide
#

Yeah I think I did a list for it. Was just meaning instead of having just spam for it I can push it off to a txt file.

fleet kernel
#

🙏

#

and llets tou filter

mossy tide
#

Haha you think too greatly of me.

hallow scaffold
#

wishing you all a wonderful start to the new year!

grim quail
#

I share the pain of having to re-build all of spigot for like 5 - 10 minutes because I reinstalled windows and it's finicky with new installs.

hallow scaffold
#

someone has a already running 1.21.4 version of libsdisguise?

rigid idolBOT
mossy tide
#

man using hides on 1.21.4 still sucks ass

shrewd estuary
#

That is an interesting visual image I can no longer get out of my head.

grim quail
#

What?

fleet kernel
#

whats the best way to show a custom debuff effect?

#

maybe a bossbar on the top right that has icons

grim quail
#

Shouldn't that be a thread?

fleet kernel
grim quail
#

You'd have to dip into shaders probably.

#

Although bossbars can work.

#

I know some people use the actionbar to place hud stuff, I imagine doubley so with shaders.

mossy tide
#

Yeah think I'm gunna use actionbar for a HUD. I wonder if it'd be possible to make a paper doll health system for when I setup my injury system. Imagine like how that one mod popular in rlcraft was with limb health. It'd basically just be a bunch of custom font images

fleet kernel
reef meteor
#

can someone help me with this? please not sure if this the right place for this

#

im try to spown npcs but will not let me

#

i did /npc create bob but no dice

heady cape
#

is citizens working?

reef meteor
#

no my server is disabuling it don know y

#

im sorry for posting in wrong place

rustic drift
#

!makepost

weary mothBOT
# rustic drift !makepost
Info: 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!

worn oak
#

Much appreciated

#

#changelog message

tawdry spade
#

is this plugin support mc 1.21?
just it didn't make a denizen directory in plugin directory

fringe hamlet
#

!makepost

weary mothBOT
# fringe hamlet !makepost
Info: 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!

tawdry spade
#

!makepost

weary mothBOT
# tawdry spade !makepost
Info: 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!

spring lodge
#

Are non-support users allowed to offer and make suggestions to people in help threads or is that a nono?

fringe hamlet
#

yes, but

#

!knowwhatyouknow

weary mothBOT
hallow scaffold
#

is there already a working libsdisguise version for 1.21.4?

rustic drift
#

just realized wrong channel lol

low radish
#

there's not a correct channel here for that question really, throwing in the open denizen discussion is ... close enough

#

ideally you'd ask in a libsdisguises related discord tho lol

grim quail
#

I assume LibsDisguise is much more complicated than - disguise command.

low radish
#

disguise command literally exists because libsdisguise did a paywalled feature thing and i said fuck that fuck you and made my own damn disguise engine

grim quail
#

Is there any actual reason to use libsdisguise over - disguise?

mossy tide
#

Oh really we have a custom disguise mechanic?

#

I haven't looked at it yet, but does it have support for skin files on the server?

grim quail
#

The example meta shows - disguise using a map value to change a sheep. It sounds like a potential post to make.

rigid idolBOT
low radish
mossy tide
#

So can't automatically easily be done like #1027028179908558918

#

Sounds easy enough though

mossy tide
#

Oh yeah I wanted to give the format to change player scale

Keywords for discord searching for anyone later:
Player Scale
Scale
Entity Scale


/ex adjust <player> attribute_base_values:<map[scale=1]>

low night
#

oh yeah i remember

#

there was a thread but the user did smthn and got it marked invalid

spiral shale
#

is there a version that works with 1.21.1?

mossy tide
#

!makepost

weary mothBOT
# mossy tide !makepost
Info: 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!

light skiff
#

I wonder where the example script above is

low radish
mossy tide
grim quail
#

@craggy sandal You're aware that when making changes or adding scripts you need to reload them right?

craggy sandal
#

@grim quail of course lol

#

that wasn't the issue, don't worry

craggy sandal
#

How would I make a custom item (fishing_rod) that loose durability when fishing? The one I made seems to only loose durability when I hit something with it xD

mossy tide
#

I'd recommend making a post, people can help you then.

#

!makepost

weary mothBOT
# mossy tide !makepost
Info: 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!

craggy sandal
#

!itemtag.display_name

halcyon jungle
#

If you want to achieve enlightenment, here's a command idea: /killears, which plays every single sound effect to the specified player (except music and ambience).

grim quail
#

That sounds like #1098024603756015726

halcyon jungle
#

didn't even know that existed

mossy tide
sinful spindle
mossy tide
#

funny auto gen

#

This is a reminder to not always trust the Generated Example guys

fleet kernel
sinful spindle
#

Define 'ai'

#

But no, not in the sense you probably mean

mossy tide
#

Idk sounds like something an AI would say, Mods pull this guys plug.

low night
#

no i here

frozen portal
#

is there a way I can check if someone killed someone with a specific item without making another if condition after the event?

Im trying to do on player kills player with:SOUL_EATER_ITEM:
but its not working

cloud sigil
#

!makepost

weary mothBOT
# cloud sigil !makepost
Info: 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!

old venture
#

guys. how to make the denizens worky worky on forge 1.6.4? i have premium by the btw.

wild cosmos
#

you have to downgrade to alpha 1.0.0

graceful laurel
#

*upgrade to alpha 1.0.0

grim quail
wild cosmos
#

bold of you to assume they read other people messages

unkempt torrent
#

except for monkey if he is in contact with a person again, who met bill gates in person

graceful laurel
bitter crown
#

i wrote a simple working action bar health script

#
    debug: false
    type: world
    events:
      on delta time secondly every:2:
      - foreach <server.online_players> as:__player:
        - if <player.target.exists>:
          - actionbar  "<player.target.name>: <&7> <player.target.health.round_down>/<player.target.health_max.round_down>"```
graceful laurel
#

very nice :o

bitter crown
#

i want to add a DPS tracker too

#

I ahve the code, but have to add the placeholder

#
    debug: false
    type: world
    events:
      on player damages entity:
      - flag <player> dps:+:<context.damage.round_to[1]>
dps_reset:
    debug: false
    type: world
    events:
      on delta time secondly every:1:
      - foreach <server.online_players_flagged[dps]> as:__player:
          - flag <player> dps:!```
#

keeps track of how huch damage yove done over last second

bitter crown
#

added a && <player.target.is_living>: check to not detect items arrows paintings etc

old venture
#

obv you dont need tick precision, but sub-second i think is important for pvp

#

slap a secondly with a repeat 2 and wait 10t for it to go in half second intervals

old venture
#

interesting implementation

#

i wonder if the rounding produces any kind of wrong results?

bitter crown
#

it rounds decimals out

#

to nearest whole

old venture
#

the way i'd do would be to just add all damages (unrounded) to a list, and then take the average sum of it

bitter crown
#

this trakcs how much damage you didn in last second

old venture
bitter crown
#

not average damage dealt

#

damage on my server is like 700 - 900 per hit

#

so this works for my case

old venture
old venture
#

not average

#

!t list.sum

weary mothBOT
old venture
#

neat lil tag

cloud sigil
old venture
#

talking about text displays, did you guys see the guy that built a custom renderer using them?

#

absolutely wild

cloud sigil
#

yeah it's insane, I shared it a week ago too

#

he makes it seem so simple anyone can do it

old venture
#

its the same dude that has been doing the procedural movement spider thingie

cloud sigil
#

meanwhile I'm out here figuring out how to even position a text display properly 💀

old venture
cloud sigil
#

actually insane stuff. The procedural spiders are also voodoo magic

old venture
#

they even have collision

#

completely crazy

bitter crown
#

If i write a text display HP display, where can i post for others to dl and use it

fringe hamlet
#

#showcase

grim quail
#

Oh, I guess discord doesn't support mkv format.

#

Surprisingly simple.

cloud sigil
#

huh, that's interesting

#

what was your idea behind doing this lol

#

it's so random

mossy tide
#

Oh huh I forgot about suspicious sand and gravel, I wonder if I can make a module for them in my dungeon script

grim quail
cloud sigil
#

ah, nice

mossy tide
#

Ah that's a fun idea Proceeds to add even more things onto the backlog

grim quail
#

It's really easy to do.

fleet kernel
empty narwhal
#

!help

weary mothBOT
# empty narwhal !help
Bot Command Help
**Available Informational Commands:**

help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)

**Available Utility Commands:**

logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity

**Available Meta Docs Commands:**

command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs

fringe hamlet
tired lagoon
#

hey guys.. been a while. Anyone into AI Agents? any integrations into Denizens (ollama, etc)

unkempt torrent
#

you can webget into anything

#

so as soon as you have a webserver or webservice that you can webget to, you can integrate an AI

tired lagoon
#

okay nice, are we still recommending papermc

#

anyone have a server that they want to integrate ai into? if not i'll just start scratch

mossy tide
#

Kinda funny the denizen beginner docs are outdated in its copyright that's listed
© Copyright 2019-2022 The DenizenScript Team.

foggy ember
#

Well, copyright can only be bumped if the repo was worked on in the new year iirc? which means that something like a beginner's guide that doesn't change as often will stay behind sometimes

sinful spindle
#

Quick! Go commit a spelling fix

low radish
#

oh that's just it got forgotten a while lol

#

been updated in 2024 repeatedly just no license date bump

vagrant drift
#

I just made on a whim something that lets players make "custom paintings" using Denizen's trace_framed_map and draw and I am really pleased with how easy those things made it

#

this is a cool tool

vagrant drift
#

I've only just coded it at work while bored, I have yet to actually prove it works in-game

#

but when I do, you bet

keen pilot
#

How dank would a neural network AI NPC be how many computer scientists are willing to quit their jobs for a week or two

sinful spindle
#

pretty sure @foggy gorge implemented this?

foggy gorge
#

it was best at being it's sassy instructed self

old venture
#

yoo

#

yoo

fleet kernel
#

was there ever 1.20.6 denizen support lol

low radish
#

1.20.6 is last 1.20.x, so yes, in dev builds

#

it's in the same family as 1.21.x

rain gale
#

Attempting to modify block break speed, is this practical with denizen? Found the right combo of search terms :P

old venture
fleet kernel
#

🙏

obsidian owl
weary mothBOT
# obsidian owl !ds https://paste.denizenscript.com/View/132031
Script Check Results
Encountered Critical Errors

On line 5: Invalid YAML! Error message: While scanning a plain scalar value, found invalid mapping.

Other Script Information

On line : (Statistics) Total structural lines: 11
On line : (Statistics) Total live code lines: 61
On line : (Statistics) Total comment lines: 0
On line : (Statistics) Total blank lines: 8

grim quail
obsidian owl
#

oh I never saw that before, sorry

grave thicket
#

Sometimes I feel like I'm a bug magnet—whenever I try to write any script, I always encounter a few Denizen bug...

low night
#

That might be the realest thing I've seen in a while

foggy gorge
#

behr... error... SCgrin

dark ferry
#

Do the coordinates in a cuboid need to be in a specific order? I'm having trouble figuring out why the schematics I'm creating are flat

wild cosmos
#

should make post

mossy tide
#

I usually use a tag for an area like <location[pos1].to_cuboid[<location[pos2]>]> that forms the area then I note that and use it just as <cuboid[area_name]>

#

How i usually format my schematic commands for updating my dungeons is like
/ex schematic create name:dungeon_name area:<cuboid[dungeon_name1]> origin:<location[dungeon_namepos1]>

old venture
#

actually, i dont think i've seen any other way lol

#

aside from object hacking

grim quail
#

It's more acceptable to do location.to_cuboid[location2]

old venture
#

yea thats what talfein did, on the message i gave a ✅

grim quail
#

I can't ever imagine a reason to manually type down coordinates though.

old venture
#

yea, at that point just tp to it and note that

low night
#

If you're manually typing a location tag for a big feature you're doing it wrong

mossy tide
#

Yeah that's what I did, those are noted locations

grave thicket
#

A bug a day keeps the consciousness away

mossy egret
unkempt torrent
old venture
#

daaaang i forgot that

#

pretty neat

low night
#

fix one bug and 2 more are created

mossy tide
unkempt torrent
#

nah

#

if it does it dum

#

or command requires explicit constructors

mossy tide
#

ah markdown doesn't work in poll answers

#

Two
Four

grave thicket
#

damn the Hurt command bug in version 1.21.4 is really a pain in the ass

rigid idolBOT
shrewd estuary
shrewd estuary
#

not pain....Hurt.

mossy tide
# mossy tide
poll_question_text

In your Denizen scripts, How many spaces do you use for basic indentation?

victor_answer_votes

11

total_votes

13

victor_answer_id

2

victor_answer_text

Four spaces

victor_answer_emoji_name

4️⃣

dawn flower
#

Guys are you serious 😭

#

Four spaces is so ugly

wild cosmos
#

two spaces is illegal

dawn flower
#

No it's so much prettier

#

Four spaces is so chunky

low radish
#

it's supposed to be a bit chunky

#

so you can immediately and clearly visually see the block containment

#

if it's not chunky it's easy to get confused about containment

mossy egret
#

i like 4sp because it is much easier to actually notice the indents, and when you have too many levels of indentation, the code gets pushed so much that you have a massive empty gap on the left, acting as an implicit warning telling you that you shouoldnt be doing this

unkempt torrent
#

ye if you intent to much it gets worse, early exit is good

mossy egret
#

Yeah, too much indentation is hard to read, debug, refactor, etc

graceful laurel
#

i only use 2sp in denizenscripts lol

wild cosmos
#

ewwww

graceful laurel
#

easier to read, less horizontal eye movement needed

dawn flower
#

U js get it

dawn flower
#

Valid point for beginners though

#

I genuinely just can't do 4sp it looks super cursed to me

#

Also like if your code has so many indents that you get lost in it maybe try approaching it a different way 😭 I've never had that problem personally

unkempt torrent
#

2sp reminds too much of yaml

dawn flower
#

Is that a bad thing 😔

quartz wraith
quartz wraith
mossy tide
#

#changelog message so with this, can you use Determination to change what recipe discovers instead? For example, it goes to discover iron tools and instead discovers custom iron tools?

fringe hamlet
#

Unfortunately not, but you can still cancel the event and supplement your own with the discover_recipe mechanism

grim quail
fleet kernel
#

i hate reading @graceful laurel and @dawn flower 's 2sp code

#

it looks so compact

#

💔

graceful laurel
#

lol

mossy tide
#

Lol I've used 2sp myself and was getting angry at Copilot as it consistently tried to use 4sp when suggesting code

#

So I wanted to see what people use here

#

I think half of my code uses 4sp and other half uses 2sp or a mix and match hell space of the two

#

Did you know that definemap blocks only support 4sp? Found that out the hardway

fleet kernel
#

me too lol

fleet kernel
#

harbormc has like 30 scripts, each with different sps

#

its insane

#

drives me insane

dawn flower
mossy tide
unkempt torrent
#

Why dont you set your space size in VSCode then?

mossy tide
#

the what

unkempt torrent
#

You can set the number of spaces in a tab

mossy tide
#

AHHHHHHH

#

thank

hallow scaffold
#

i have the strange bug, some scripts changing to 2 spaces, dont know why Oo

#

ah, maybe its a problem with prettier prettier.tabWidth was 2, changed that to 4

unkempt torrent
#

likely ye

hallow scaffold
#

need new denizen dev version fingers last dev isn't working with latest spigot ^^ [joke, keep your time!]

hallow scaffold
#

I'm currently testing plugins under Spigot. The Denizen dev version worked at first, but after the latest Spigot build, it seems to no longer work. Not sure if this is worth mentioning. Should I post error messages?

#

I'm really not in a hurry, so it was meant as a little joke. I know that you're still in dev, and that Paper normally has priority.

#

oh md5, maybe it collides with CMI, testing... [ tested, nope 😦 ]

grim quail
#

Sounds like it's worth a thread

halcyon jungle
#

who in da world uses 2 spaces for indentation

#

if anything I think it looks worse than 4 space indentation

dawn flower
halcyon jungle
#

never heard of that in my life

#

must be made up

old venture
foggy ember
#

Such as myself

mossy tide
grim quail
#

It bothers me you don't have space between your colons.

#

But that's preference.

#

Looks nice though.

mossy tide
#

Yeah I gotta add those, noticed after I put out the sneak peak

grim quail
#

I should share my proc for making borders that are as long as the text is.

mossy tide
#

That would be nice, I should see if you can change the background box for item displays with a resource pack

grim quail
#

Okay now I want to know why I did a while loop in it.

#

Oh i see.

mossy tide
#

Because funy

grim quail
#

No, this has a purpose.

#

I feel that this could be done better, but this is seemingly my attempt at making a border length based on a list you input.

#
list_border:
    type: procedure
    debug: false
    definitions: text_list|color
    data:
        border: <strikethrough><&sp>
    script:
        - define color <&f> if:<[color].exists.not>
        - define max_width <[text_list].parse[text_width].highest>
        - define border <script.parsed_key[data.border]>
        - while <[border].text_width> < <[max_width]>:
            - define border <[border]><script.parsed_key[data.border]>
        - determine <[color]><[border]><&r>
#

May be worth a thread.

#

But I'm not bothering to clean it up right now.

#

I can already see that I think this can be done better, and not just tacking on the same thing. Can probably use .repeat with some of this instead.

#

Either way, it's a potential idea to use so you can have a border that's as long as the lengthiest text piece you have.

mossy tide
#

I might switch over to something like this when I make the switch to fully custom content, but right now I've got a mix between vanilla and custom to handle everything.

#

Otherwise it'd totes break any semblance of vanilla crafting which sucks asss

grim quail
#

I haven't really done much since denizen isn't stable for new features, I really wanna take advantage of components but there's a lack of mechs for a lot of the newer ones.

mossy tide
#

I've been using them regardless and bullshitting my way through

#

So far I've got custom armor, furniture and items on the new Item Model component system as well

grim quail
#

True custom armor is what I'm looking for.

mossy tide
#

When I get home from work I'll share here some example item scripts and the relevant resource pack side for it.

#

Any bot here to do reminders?

grim quail
#

Don't think so.

fleet kernel
#

ive spent 5 months coding my origins system

#

and i just added evolutions for the origins

#

now im introducing some convoluted system

#

😭

#

2000 line pr

mossy tide
#

I threw in some basic races and just gave them size attribute differences. I think I setup a Fairy flight which I need to rebalance yet again, and Finfolk get the conduit effect for ever. I have like 8 more races I need to make effects or bonuses for

#

I really need more devs, problem is I have no money to pay for actual devs since I just work a part time job myself

#

I'm just covering server and living costs rn, I haven't been able to save money in months

mossy tide
fleet kernel
#

i might be interested if its something fun and exciting

mossy tide
#

It's an RP RPG server

#

Going for a medieval modded Minecraft feel, but no mods required. So a homey adventure feel with towns and wars planned

grim quail
#

That's what rp in rpg means

mossy tide
#

Well more Roleplay as in you're playing a character so there's accountability in what you do in game.

mossy tide
#

I do yes

#

I somehow went from being the junior coder to now owner

mossy tide
fleet kernel
mossy tide
#

I'd have to chat with my team, we'll see

blissful aspen
#

Does denizen have version for 1.20.6?

#

I can't find it anywhere

grim quail
#

It does. Make a thread, this is not a support thread.

#

!makepost

weary mothBOT
# grim quail !makepost
Info: 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!

blissful aspen
#

ok thanks

mossy egret
#

flashbacks to me using parsed key in a data script leading to infinite recursion

rain gale
#

What is the name of the data structure thats functionally a dict?

wild cosmos
#

map?

rain gale
#

thank you! it was driving me crazy

wild cosmos
#

haha

quartz wraith
#

i learned about maps in denizen before learning about dictionaries as a general programming concept so i still call dictionaries in other langs maps sometimes

rain gale
#

I haven't used denizen in a while, and I am struggling to remember how to create them and work with them. I couldn't find anything specifically in the guides or documentation.

unkempt torrent
#

It really depends where you need them, if you have a real usage example you could make a post

rain gale
#

I am afraid to because I feel like I am just missing something haha, its more of a syntax issue, not method if that makes sense

rain gale
#

they're called dictionaries in python and hash tables in powershell

#

There is some nuance between their implementation, but they are very similar in function,

wild cosmos
#

yea i know about dicts in py

rain gale
#

Java calls them maps i think?

wild cosmos
#

yup

fleet kernel
#

tables in lua

grim quail
#

We love tables.

#

We love tables that start their index with 0.

mossy tide
#

I've done some stupid data storage stuff using lists and maps so far

low radish
#

Yeah the names are mixed between languages

#

HashMap or HashTable are very technical internal names, but some languages like Java just go with the precise technical name

#

"Dictionary" is a title that's meant to communicate the function without communicating the precise implementation

#

for example C# calls it a "Dictionary", uses a HashMap on the inside, but explicitly never guarantees that what is inside is a HashMap

#

they have several "Dictionary" variants (IDictionary, ConcurrentDictionary, etc) and not all of them actually are hashmaps on the inside, but they all have a unified function just different details, so a unified name

#

(or I think C#'s Dictionary is more properly a "linked hash map", as it recalls order of insertion)

#

I like Map because it's similarly a "just the function not the impl" name but it's a simpler word

mossy tide
#

Argg I'm trying to figure out how to do a bool for the components, can't tell if its denizen or MC having the issue

#

Ah first I see I had a colon after has_consume_particles, time to keep trying

wild cosmos
#

what font in the world are you using 😭

mossy tide
#

custom font :)

#

It's irritating because using a float works, but not a bool

weary mothBOT
# low radish !makepost
Info: 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!

thorny coral
#

does denizen not work on 1.21.4?

unkempt torrent
#

Please make a post in #1026104994149171200. This forum post is not for support.

frozen portal
#

just put my server in an infinite cycle of despair after reloading this script! ☺️

test_world:
    type: world
    events:
        on player receives message:
            - narrate <context.message>
grim quail
#

#1098024603756015726

rain gale
#

any recommendations for permission plugins?

mossy egret
#

though you could technically do it all in denizen

old venture
#

worldedit, worldguard and luckperms are the plugins that just aint worth it trying to replicate in denizen

rain gale
old venture
rain gale
#

yeah world edit and world guard seem like they have it on lock. both have been amazing plugins for years. I'm sure their dev team is legit

unkempt torrent
#

I replaced WorldGuard/GriefPrevention because I wanted to make my own claim system and freedom of things

grim quail
#

I respect worldguard for being an administrative tool.

#

But I made my own claim system tailored for my needs and player needs.

#

I thought about making it a standalone thing others can use but it'd be a real task and a half just to deintegrate it from my own custom stuff, along with making a separate utilities script as a dependency.

grim quail
#

Players select an area with a shovel, and they can claim a land with various types. Regular, section, admin, guild.
Sectioned claims are within regular claims, and don't have a limit to how many can exist within a parent but cannot be inside other sectioned claims.

Claims can manage their own flags such as allowing global mounting, peaceful animal killing, interaction/chest opening, entry title/subtitle, and other things.

Claims can also make their own ranks with their own set permissions, which follow nearly the same rules as their flags. Building, interaction, kicking, inviting, etc. These ranks can also be custom named.

I've integrated it into my guild system, and there is suppose to be a NPC/entity interaction for the claims private storage and other interactions that I forget.

#

The npc/entity interaction is unfinished though, I was going to make it so you need to feed an entity food and resources to ensure upkeep, and if you failed it'd destroy the claim but I thought that was too gimmicky and just checked player activity of players in claims before auto-deleting after like a month.

#

I did plan on making it so claims can become an investment, bonuses for keeping it active, maybe feeding it materials or something to level up and get rewards. Having a reason to have a claim instead of just burrowing your treasures.

unkempt torrent
#

Oh you implemented guilds into it nice

mossy tide
#

I lobotomized towny for my claim system by removing all the commands and handling it all through an inworld town block entity which has a gui for everything

#

*almost everything, a lot of stuff towny has is dumb

grim quail
#

I made it because GP doesn't have much customization.

dreamy orbit
mossy tide
#

Nah I used it intentionally. I went for a thing where you can claim around the first claim since the first claim has the town pylon

light skiff
#

anyone else's denizen not working when version is over 7144???

grim quail
#

Please make your own thread regarding the issue.

#

!makepost

weary mothBOT
# grim quail !makepost
Info: 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!

fleet kernel
#

anyone know how to render display entities when not looking at them

#

is this a minecraft limitation

grim quail
#

Why would you need to do that.

fleet kernel
#

so im looking for a way

old venture
fleet kernel
#

i was making a bossfight that has like anims and stuff to indicate attacks

#

doesnt work very well in f5

old venture
#

cant you separate the model tho

fleet kernel
old venture
#

ooohh

fleet kernel
#

yeahh

old venture
#

oh wait no that should be a serverside issue then

#

because in f5 the game would stop culling the entities

#

so if they aint appearing when they SHOULD, then that's weird

fleet kernel
#

let me show u a clip

old venture
#

yea

fleet kernel
#

you see how he stops spinning if im in f5

#

but he still moves cuz im teleporting it

#

but i have another move where it like scales itself and it indicates a big attack

#

and i need that kinda visible

old venture
#

huh thats weird

#

i have no clue if that's client or server side

#

wth

low night
#

99% sure it shouldn't be doing that

mossy tide
#

I imagine it's some kind of occulsion culling thing to not animate things you aren't supposed to see, probably Minecraft

old venture
#

@fleet kernel test it in full vanilla no mods no anything and see if that still happens

fleet kernel
#

i mean i shouldnt have any mods messing with it

#

ill give it a try

rigid idolBOT
fleet kernel
#

not in the animation

#

thats why

old venture
fleet kernel
#

im physically teleporting it

mossy tide
#

Which is likely why it's still working to move it

fleet kernel
#

nope vanilla is still the same

#

did they add a new mech for break time of blocks

#

or do we still gotta do it custom

#

:(

rustic drift
#

u can have optimizations disabled

fleet kernel
#

ohh thanks

rustic drift
#

i forgot how but there was a thing that u can set to have specific models be whitelisted from those

old venture
#

oh dang

rain gale
#

has anyone else had luck using chatgpt to answer smaller questions, I have about 50/50 luck with it. Also it keeps wanting me to use raw object notation lol

grim quail
#

!chatgpt

weary mothBOT
# grim quail !chatgpt
Info: chatgpt

No, ChatGPT cannot write working scripts.

ChatGPT is known to often be "confidently wrong", meaning- It will try, it will output something that looks like a script, it will assure you it works, and it will not work.

ChatGPT is a cool tool, and it can do a lot of cool things, but it is not sufficiently intelligent enough to write working code as of yet, especially not in smaller languages like Denizen script (as opposed to huge languages like C or Python).

(GitHub Copilot, which supplies single lines at a time based on the surrounding code you've already written, can sometimes be accurate and helpful).

fleet kernel
#

copilot has been getting good for me

mossy tide
#

Same

hallow scaffold
#

grok is very good in it

old venture
#

woah grok users exist?

hallow scaffold
#

woah

wild cosmos
#

how dumb idea would it be to have something like <switch[some_expression].case[1].result[a].case[2].result[b].case[3].result[c]...>
pretty much what excel SWITCH function has but in denizen

unkempt torrent
#

If you want !c choose in a tag, why no proc

wild cosmos
#

nvm i can literally do <map[1=a].get[expression]> lol

wild cosmos
#

I have bunch of them for tab completions

unkempt torrent
old venture
#

!t map.get

weary mothBOT
# old venture !t map.get

Returns the object value at the specified key.
If a list is given as input, returns a list of values.

Returns

ObjectTag

Examples
# Narrates '2'
- narrate <map[a=1;b=2;c=3].get[b]>
# Demonstrates that list input gives list output - narrates '2' then '3'
- foreach <map[a=1;b=2;c=3].get[b|c]> as:value:
    - narrate "One of the values is <[value]>"
old venture
#

what how

#

@frozen brook <map[1=a].get[expression]>

frozen brookBOT
old venture
#

i was lied to

unkempt torrent
#

Replace expression with a tag that returns a key name that exists in your map lol

wild cosmos
#

😭😭

spring heart
#

is there a point using custom events over task scripts with definitions

grim quail
#

I've asked myself the same question, but I know theres a valid answer.

low radish
#

interop with other scripts

wild cosmos
spring heart
#

ahh a task script can be ran by multiple
and a cusotm event is to run multiple

fleet kernel
#

anyone know how to dynamically rescale item sizes? im trying to have a system where fish models (items) can be different sizes but it has to be dynamic

spring heart
#

when should they be rescaled, like whats the criteria?

rain gale
#

Any unqiue ways you guys have found to visiually distinguish items from vanilla versions?

I know making a resource pack is the move but just thinking of some smaller tweaks

grim quail
#

I'm not sure how you do that without a resource pack.

#

Maybe with data components you can alter their tooltips?

#

But then you'd might still need a resource pack.

rain gale
#

I have just been using colored text and what not, but I don't plan on changing a tonnnn

grim quail
#

Colored text?

#

You mean for lore and display names?

#

Because that might be as much that can be changed.

#

Take example my lore for all of my items.

#

Can do a fair bit to make psuedo-rpg stuff, or make stuff stick out.

#

Especially now that modern minecraft supports a lot more emojis.

rain gale
#

Wow that looks dope

#

I am guessing the symbols are just emojis? Are they unicode or?

#

also what is that sword emoji? I cannot find it lol

grim quail
#

Unicode.

#

I think emojis too?

#

🗡 Seems to be it.

rain gale
#

1F5E1 code just returns a square

mossy egret
rain gale
#

using just the emoji also adds a weird character haha

mossy egret
#

heres one of mine

grim quail
rain gale
grim quail
#

Uh.

#

What is that emoji after???

rain gale
#

I have no idea. I just used the emoji in the lore. I tried using <&chr[]> but that did not work

grim quail
#

The emoji should just work.

#

If it copy pastes into chat, then it can be put in lore.

#

That's a good test for emoji.

#

Like I don't know what to tell you. Ignore block strength lol.

rain gale
#

looks like whatever you posted in chat is slightly different from emojipedia lol

grim quail
#

It might be.

#

Mine looks different in vs code.

rain gale
#

yep so does that one, that works lol

#

🗡️ hmm

grim quail
#

Discord might show a different emoji.

mossy egret
# rain gale 😐

oh you can copy the emoji into minecraft chat and then remove the symbol

rain gale
#

oh period

#

neat

mossy egret
#

afaik some emojis are multiple unicodes put together or something

rain gale
#

that makes sense

mossy tide
#

Emoji in denizen code looks so cursed

rain gale
#

Any good reads/vids on custom resource packs thats current? Also, when y'all are implementing custom resource packs, are you able to add additional (new) materials? Or are you essentially using seldom used materials, changing their appearance, and repurposing them?

grim quail
#

Usually use resource packs for new items, not new materials. I try to lean into vanilla+

mossy tide
#

I've been making use of the Item Model component for new mc, its been really helpful for adding basically new items since you can have it point directly to the resourcepack instead of relying off Custom Model Data tags

grim quail
#

When components get their own mechs then I'll toy with em.

rain gale
grim quail
#

Denizen related? Probably make a thread.

#

General MC? Uh..

fleet kernel
#

would anyone be interested in playing a super parkour server

#

that might be my next project after minecraft elden ring

fleet kernel
grim quail
#

I guess general mc discussion probably goes into #chatter or such.

#

But if you're going to ask how to do stuff, then make a thread.
If you're going to ask on your thoughts of ideas, this might be the proper place?

mossy egret
#

Could also use the #1027976885520584814

spring heart
#

is it by default

  • if (A && B) || C

or

  • if ( A ) && (B || C)
low radish
#

neither, when mixing && / ||, always explicitly uses parens

spring heart
#

ah nvm

#

u can use ()

#

thanks

latent plover
#

is there no stable build for any 1.21.x version?

grim quail
#

No. Get a dev build. Last stable was for 1.20.4.

#

If you're having isues make a post.

weary mothBOT
#
Quote Unknown

No quote found for that search text.

thorny coral
#

!help

weary mothBOT
# thorny coral !help
Bot Command Help
**Available Informational Commands:**

help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)

**Available Utility Commands:**

logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity

**Available Meta Docs Commands:**

command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs

thorny coral
#

!command ratelimit

weary mothBOT
# thorny coral !command ratelimit
Group

queue

Syntax

ratelimit [<object>] [<duration>]

Short Description

Limits the rate that queues may process a script at.

Description

Limits the rate that queues may process a script at.
If another queue tries to run the same script faster than the duration, that second queue will be stopped.

Note that the rate limiting is tracked based on two unique factors: the object input, and the specific script line.
That is to say: if you have a 'ratelimit <player> 10s', and then a few lines down a 'ratelimit <player> 10s',
those are two separate rate limiters.
Additionally, if you have a 'ratelimit <player> 10s' and two different play...

mossy tide
#

That reminds me, I should put some more rate limits on some of my crafting scripts

grim quail
thorny coral
#

sorry

rain gale
#

is there any characters that can be used to make a continuous solid line in text in minecraft?

fleet kernel
#

<element[ ].strikethrough.repeat[20]>

mossy tide
#

Yeah I started using that too

rain gale
#

epic.

reef vine
weary mothBOT
# reef vine !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

reef vine
weary mothBOT
# reef vine !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

grim quail
#

What are you doing.

reef vine
#

trying to fix my denizen

grim quail
#

#bot-spam

#

This is for discussion, and this looks like spam for the bot to take.

#

Also what the hell is that script formatting.

#

I think you need to make a post.

#

!makepost

weary mothBOT
# grim quail !makepost
Info: 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!

grim quail
#

Because there's a lot going on here.

reef vine
#

!makepost

weary mothBOT
# reef vine !makepost
Info: 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!

reef vine
#

!makeforumpost

weary mothBOT
# reef vine !makeforumpost
Info: makeforumpost

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!

unkempt torrent
bitter crown
#

!command disable non helpers from using this command outside of #bot-spam

weary mothBOT
#
Possible Confusion

Did you mean to search for pushable?

#
Possible Confusion

Did you mean to search for mechanism disable?

bitter crown
#

thats an idea 🤔

mossy tide
#

Except it wouldn't be a good idea as #1026104994149171200 encompasses the actual support threads which this technically is also a thread

golden fjord
#

@grim quail

fossil steepleBOT
# golden fjord <@84366968383082496>
ASCII Name Rule Enforcement

Non-ASCII nickname for @golden fjord changed to base username. Please only use a readable+typable US-English ASCII nickname.

golden fjord
#

How you do this

spring heart
#

do what?

#

!m lore

weary mothBOT
# spring heart !m lore
Cannot Specify Searched Mechanism

Multiple possible mechanisms: ItemTag.lore, EntityTag.explored_locations.

#
Possible Confusion

Did you mean to search for command look?

graceful laurel
grim quail
weary mothBOT
# grim quail !rule 4
Rule 4

Don't DM helpers or any random users. https://denizenscript.com/discord_rules#rule4
"DM" refers to Direct Messaging.
We don't give help over DM. Ask in the most relevant public channel (if you're unsure which channel, ask which channel to use in #chatter. Do not ask a plugin support question there.).
DMing other users from this Discord (that you haven't already spoken to) is considered DM spam.

grim quail
#

Theres no need to dm me and ping me specifically.

grim quail
#

Make a thread and ask the question, I'm fine with responding to a thread and explaining how some of it works.

stone geyser
#

Is there a list of events, commands, types etc with info about each one anywhere or do I just have to scroll through the list on the vs code editor and hope I can work out what each of them do? The documentation is gonna send me crazy, its fine, just my autistic mind personally does not fuck with it at all.

stone geyser
#

Tysm

#

Couldn't find a link to that in the beginners guide and gave up after like 5 mins 😂

golden fjord
#

Is it work in 1.21?

spring heart
#

is it possible to have an animated gui title?

grim quail
grim quail
weary mothBOT
# grim quail !makepost
Info: 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!

mossy tide
mossy tide
#

I wanna showcase the project I've been workin on today. I've made an item editor. It can do our custom durability, lore lines, changing the model, name. Later I'll get support for enchants and attributes

golden fjord
#

Is it have any dependency

graceful laurel
#

as lg told you earlier, please make a post SMILERS

graceful laurel
#

well what does his message say then

#

._.

#

that should answer your question

grim quail
golden fjord
#

Bro

#

Then why this thread open

#

Delete this

#

Everyone should have to make post for any help

#

-_-

graceful laurel
#

for discussion

#

hence the name

mossy tide
#

bruh moment

mossy tide
#

Workin on my next project which is going to be a tool management system. First part is getting a tool bag working so you can use tools to repair gear or in crafting minigames.

Here's selecting a tool via a gui to change what is selected at a time. Lovin using the Component Patches for item models

foggy ember
#

@fossil steeple warn @minor wharf instant_mute Random N-word troll/ragebait

fossil steepleBOT
#
Warning Recorded

Warning from @foggy ember to @minor wharf recorded.
Reason: "Random N-word troll/ragebait"

#

User @minor wharf has been muted automatically by the warning system.
(Attn: @low radish)

Mute Notice

This mute was applied by moderator request (INSTANT_MUTE). You may not speak except in the incident handling channel. This mute lasts until an administrator removes it, which may in some cases take a while.
Any user may review warnings against them at any time by typing @ModBot listwarnings.

grim quail
#

Today we're playing the game of "Why doesn't my item script recipe work" with multiple culprits potentially being the issue.
Could it be... Being outdated on a 1.20.4 build?
Could it be my 154 world scripts that may have something to do with item recipe forming?
Could it be my item script itself being bad and me not remembering after not making a serious script for like a year?

Find out later when I find the problem. :)

#

(Not asking for help, just more of me complaining about my own problems.)

sinful spindle
#

binary search time!

grim quail
#

That's the problem with having such a monsterous amount of scripts, because I want to do anything and everything in denizen I end up having...

#

2.3k scripts. Not files, just any type of script.

#

What might be using them all? Procedures, because I use procedures a lot. Especially for big stuff like my entirely custom claim system.

#

Not sure what intc is. I'll have to check those later.

unkempt torrent
#

Interact scripts

grim quail
#

OH. Yeah. Those things. Haha.

#

Good news. I found the problem. It turns out that my custom item constructor (Which is a rather lengthy script that assigns all kinds of custom junk to tools/armor/exotic items, etc) was applying hides_all and custom displays to items that I'm giving myself, and thus the matchers for my item recipe weren't taking it. :) Always make sure to narrate the items you hold in your hand for goofy stuff.

grim quail
#

I think putting the values of hunger and such on food is a nice touch. The green skull means it can poison you, because I think eating raw food should have a chance to make the player sick.

mossy tide
#

I so need to get into using more custom fonts for icons

#

I just have a red <red>Dangerous in my lore line

grim quail
#

Font usage in denizen is neat.

#

Shout out to using the MAGIC font.

#

And I don't mean &k

#

I mean using the magic font in-game.

#

<element[Beware the trader from another biome].font[minecraft:alt]>

mossy tide
#

Wait what that's just a tag you can run? How does it register what font is valid? Does it require a data pack for custom fonts?

#

I've been basically replacing Japanese hiragana characters with images for my custom GUI in a resource pack

grim quail
#

Oh my stars.

mossy tide
#

I just throw the Japanese character into the title on a GUI and hoping it fits properly

grim quail
#

That, is a really hacky way of doing it.

#

But.

#

!g resource packs

weary mothBOT
grim quail
#

See: Making Custom Fonts

#

Granted my tag usage for font is weird because the guide is using <&font>, but still.

#

If your font isn't valid or the character is incorrect, it'll just show up as squares. Lol.

mossy tide
#

Bruh moment, I can totes set that up when I get home.

#

I'm just glad we got item components when we did because I was going to have to use a data pack to inject armor trims so I could make custom armor, now I can just easily change the model

grim quail
#

I don't have the image on me, but I use the same thing to display my user/staff ranks in chat if the player has the resource pack downloaded.

I bring this up because someone pointed out how it looks like pokemon move types.

mossy tide
#

Super fun, now I get to deal with less bloat

#

Whilst at the same time now I gotta redo my font GUIs

grim quail
#

TIL about the illageralt font???

#

I was trying to find the default font so I can restore it after a word, that's... Interesting.

reef vine
#

Guys if I don't update my version of the game there's no reason to update the plugins versions also right

grim quail
#

Yes, but actually no. This probably requires a thread.

#

You probably should update if possible.

mossy tide
#

When referring to Denizen should you say you are a "scripter" or a "coder" when talking about your projects?

grim quail
#

Personally, I say scripter since... They're scripts.

fleet kernel
#

you are still however codign

shrewd estuary
#

I say I’m playing, cuz come on…we know that’s what we are really doing.

grim quail
#

What are you talking about? No one plays their server.

#

We only develop for it.

#

Replace "Installing the mods" with "Writing denizen scripts"

fleet kernel
#

especially triple A companies

halcyon jungle
#

I’d say there isn’t much

sinful spindle
foggy ember
#

Or developer (especially in "dev" form)

icy oracle
#

hello? anyone can help me?

foggy ember
weary mothBOT
# foggy ember !ask
Info: ask

Hi there! Welcome to the Discord! If you need help with something, please create a thread and post your question and any relevant information. You don't need to get the attention of anyone or wait for them. We'll answer your question when we see it!

Also check out https://dontasktoask.com/

brazen dove
#

13k is wild

#

13899

#

13900

grim quail
#

What?

mossy tide
#

Think it's total messages in #1026104994149171200

unkempt torrent
#

Total messages in Denizen are 349470

foggy ember
#

Maybe members?

fringe hamlet
#

Messages in this thread

mossy tide
#

Oh it's pages on discord search

brazen dove
#

But maybe 🤔

nimble cairn
#

What are some Reasons for Denizen? Been using Skript back when I was scripting, now I am just curious why people use Denizen, like what is better etc.

frozen stone
fleet kernel
#

also its a closer community imo, everyone active knows each other here but tbf i havent been active on skript enough to know

#

i doubt theres any major perfomance differences, just the two operate differently

#

you also get easier access to citizens control

grim quail
sinful spindle
nimble cairn
spring heart
#

did mcmonkey bully the skript owner in school?

low radish
#

dumb kids turning "skript vs denizen" into a flamewar

snow sonnet
#

is denizen dead? no updates in over a year and wont work on 1.21.5

graceful laurel
#

dev builds have support

snow sonnet
graceful laurel
#

it’s also an open source free to use piece of software that gets worked on in the free time of volunteers so…

snow sonnet
#

this is from the link to devbuilds from spigot

graceful laurel
#

that is the release build

snow sonnet
#

why does the link labelled as devbuilds take me there?

#

oh nvm i misread lol sorry

graceful laurel
#

nw lol

grim quail
unkempt torrent
#

3,6million queues wow

grim quail
#

Oh I believe that.

unkempt torrent
#

How long is it running

grim quail
#

Some hours probably.

#

Probably some delta timers.

low radish
#

no

fringe hamlet
#

!rule 8 @spring heart

weary mothBOT
spring heart
#

@Silent whats dataconverter?

wild cosmos
#

rework of minecrafts DFU

spring heart
#

ty

frozen portal
#

Rendering 3D meshes, 3D graphs, and marching cubes in Minecraft without resource packs.

All my links:
https://heledron.com/links/

Source Code:
https://github.com/TheCymaera/minecraft-hologram

World Download:
Static meshes (No plugin required): https://www.planetminecraft.com/project/static-3d-meshes/
Ambertry Forest: https://www.planetminecra...

▶ Play video
#

he only uploads him using minecraft for the ways it was not supposed to be used

grim quail
#

What?

graceful laurel
#

this is the person who made the procedural spiders as well as the fractal thing no?

mossy tide
#

I imagine that it causes some serious performance issues no?

fleet kernel
mossy tide
#

Yeah fps is def a killer. I've already found issues when I used my item display decoration system.

frozen portal
graceful laurel
#

there's some blocks there, so it qualifies

spring heart
#

guess what

#

u no longer need /title
/ex mount text_display[text=test;pivot=center;translation=0,0,-2]|interaction[width=0;height=-0.18]|<player>

grim quail
#

What is /title

#

Oh I see.

#

Why would you... Be using /title with denizen opposed to - title?

spring heart
#

mb

spring heart
grim quail
#

!c mount

weary mothBOT
# grim quail !c mount
Group

entity

Syntax

mount (cancel) [<entity>|...] (<location>)

Short Description

Mounts one entity onto another.

Description

Mounts an entity onto another as though in a vehicle.
Can be used to force a player into a vehicle or to mount an entity onto another entity, for example a player onto an NPC.
If the entity(s) don't exist they will be spawned.
Accepts a location, which the entities will be teleported to on mounting.

grim quail
#

Could specify a location potentially. Adjust it when you crouch/sneak.

#

But this will turn into a denizen thread.

spring heart
#

no the issue is, it jitters around when you crouch

grim quail
#

Ah.

#

Well, it is what it is.

grim quail
#

I wonder if anyones tinkered with the magic of settings: argument for - createworld, I'd be interested in the magic of how to modify created worlds and modify them for all kinds of things.

#

I realize it's worth a thread, but more of speculation if anyones done it at all.

fleet kernel
#

to fix crouching

#

when crouched, interlop translate down

versed venture
#

quick question to exercise your denizen skills:

what was i trying to do here, in September 20th, 2024?

my_task:
    type: task
    script:
    - narrate <map[param=-6;mod=7].proc[my_proc]>

my_proc:
    type: procedure
    definitions: def
    script:
    - foreach <[def]>:
        - define <[key]> <[value]>
    - debug log <[param]>
    - debug log <[mod]>
    - determine <queue.definition_map>

debug: https://paste.denizenscript.com/View/133953

unkempt torrent
#

Probably passing a map input as definitions to a proc which now works by new tag added by drjoenh