#Open Denizen Discussion Thread

1 messages ยท Page 13 of 1

foggy gorge
#

monkeybot

soft pewter
#

idk itโ€™s cool

sullen bay
#

because it's also in Denizen logs

foggy gorge
#

ancient old syntax it used to use for everything

sullen bay
#

DEN+> Executing 'RUN' blah blah

foggy gorge
#

helps the c scripts use regex better

sullen bay
#

really ?

soft pewter
#

Coolness factor + stand out in logs maybe

sullen bay
#

love to get random syntax backstory

#

DEN<(---:]]>>>)}-> would be better

#

personal opinion

foggy gorge
#

you can see where the @'s and the open/closing brackets kinda are for scanning to easily grab the meta in the right places

sullen bay
#

wait is docs parsing also custom

#

always thought it was just a doc generator library of some sort used and that's it

foggy gorge
#

yeah, when it loads the data, it scans the repo for it all manually lol

unkempt torrent
#

no it loads the repo and goes file by file

sullen bay
#

yeah that's how any doc generator library works

#

the question is whether the parsing is custom

unkempt torrent
#

the logic is soo I think yes?

#

didn't found any library when I remade it in react

sullen bay
#

i mean, specifically for java i don't know but i.e. with JS you have JSDocs

wild cosmos
sullen bay
#

still the case, but also widely used for typing js

foggy gorge
#
๐Ÿคญ๐Ÿคซ๐Ÿ‘‰:
  type: task
  script:
    - narrate "this actually works, please kill me ๐Ÿ’€"
/ex run :face_with_hand_over_mouth::shushing_face::point_right:```
#

ope

#

im not fixing it, it's already too cursed

wild cosmos
#

no way that actually works

foggy gorge
#

it does unfortunately badlaugh

unkempt torrent
#

emojizen

wild cosmos
#

oh my gooosh

#

im gonna refactor my scripts

foggy gorge
#

incoming funky

quartz wraith
foggy gorge
#

and their browser history exposed!

unkempt torrent
#

if heart rate < 5:
delete browser history

foggy gorge
#

if your heart rate is < 5 pls eat sandwich u are dying

unkempt torrent
#

good idea

sullen bay
#
๐Ÿ’ฌ:
  type: format
  format: ๐Ÿง๐Ÿ’ฌ <[TEXT]>

๐Ÿซธ๐ŸŽ:
  type: task
  definitions: ๐ŸŽ[The item to give.]|๐Ÿ™†[The player to give the item to.]|#๏ธโƒฃ[The amount of items to give.]
  script:
    - define ๐ŸŽ <[๐ŸŽ].as[item].if_null[diamond]>
    - define ๐Ÿ™† <[๐Ÿ™†].if_null[<player>]>
    - define #๏ธโƒฃ <[#๏ธโƒฃ].if_null[1]>
    - give <[๐ŸŽ]> to:<[๐Ÿ™†].inventory> quantity:<[#๏ธโƒฃ]>
    - narrate format:๐Ÿ’ฌ targets:<[๐Ÿ™†]> ๐Ÿ™†๐Ÿซด๐ŸŽ

๐Ÿซณ๐ŸŽ:
  type: world
  events:
    on player right clicks chest:
      - determine cancelled passively
      - define ๐ŸŽ <context.location.inventory.list_contents.first.if_null[null]>
      - define #๏ธโƒฃ <[๐ŸŽ].quantity.if_null[1]>
      - run ๐Ÿซธ๐ŸŽ def.๐ŸŽ:<[๐ŸŽ]> def.#๏ธโƒฃ:<[#๏ธโƒฃ]> def.๐Ÿ™†:<player>
#

yes it works

cloud sigil
#

no

#

fuck off

#

please delete that

#

and think about what you've done

#

Im going to need to wash my eyes with soap now

sullen bay
#

if minecraft's font has emojis, it's for a reason

#

just use the damn emojis

#

also quite literally, minecraft having emojis support in its font is great

#

cases like discord chat bridge become sooo much better

quartz wraith
foggy gorge
#

well earned

#

does something like this this look discrete enough as a way to show what spell someone is holding i wonder

soft pewter
#

ooo

quartz wraith
#

also you better not be stealing art from ars nouveau

quartz wraith
cloud sigil
#

is it just a sick texture in a resource pack?

#

I think it looks good, pretty visible, but maybe try using bright colours as well to make it even easier to see during combat

#

oh I thought you were talking about the offhand slot. I didnt even see the hand item lmao. So no, not visible enough ig

foggy gorge
cloud sigil
#

yeah thats better

foggy gorge
#

i feel like doing normal tasks in a magical complicated way is like engineering a script or program to do a simple task, i love it though

old venture
#

hope you enjoy the challenge!

grim quail
#

Each layer of lasagna is either mana infused or it's a spell

bitter crown
#

can you bypass aeternous file upload by adding the jar to the world zip. then using a plugin from spigot to move it to plugins folder?

#

probably violates their TOS

#

jw f its possible xD

old venture
#

also, "aeternous" LOL

bitter crown
#

i typed fast

#

didnt check spelling

bitter crown
fleet kernel
#

s

#

iirc they had this before?

#

wait no

#

im thinking of minehut and the /world command

grim quail
#

So with 1.21 being here and dev builds being eventually worked on, I've noticed that there isn't a 1.20.6 release build for denizen. Whats going to happen with that?

foggy ember
#

Well, the next release build will probably be for both - currently neither are stable (mostly because of the 1.20.6 issues carrying over), so doesn't really make sense to release one

grim quail
#

Fair enough.

wild cosmos
#

is renaming note a thing or am I cracked?

unkempt torrent
#

!crakcs

#

should make a thread

reef wharf
#

@winged moss You seem to have a misunderstanding; Denizen is a plugin for Minecraft, not a standalone game. Also,

#

@fossil steeple warn @winged moss normal rule 4

fossil steepleBOT
#
Warning Recorded

Warning from @reef wharf to @winged moss recorded.
Reason: "rule 4"

reef wharf
#

!rule 4

weary mothBOT
# reef wharf !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.

bitter crown
#

the rule doesnt specify

reef wharf
#

if they've given you consent to DM them, they're not really random users anymore.

bitter crown
#

ok

#

you could amment the rules to no DM without consent.

reef wharf
#

The key here is the last line of the rule

bitter crown
#

fair

#

velocity support when?

fleet kernel
#

๐Ÿ˜ญ when i read that i was very confused

low radish
#

im just gonna delete the whole discord

#

thanks discord needed this tag

soft pewter
#

is it just me or did the tag get bigger than it used to be

old venture
#

yup in mobile its smaller

fleet kernel
#

and rounder

old venture
#

and smaller

bitter crown
soft pewter
# bitter crown bump

you should probably make a post for this. you can mark it as a feature request because it might get buried here again

wraith glade
#

!help

weary mothBOT
# wraith glade !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

wraith glade
#

!tag inventory

weary mothBOT
grim quail
wraith glade
#

sry

dire dew
#

how can I use depenizen for placeholders like %player_name%

grim quail
#

!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!

dire dew
#

still thanks

old venture
#

could this mayhaps perchance be applied to players? #changelog message

#

i mean i know players are entities.. but would that work? if so, how would it work?

grim quail
#

Pretty sure thats meant for mobs.

rigid idolBOT
grim quail
#

Why would it work on players? Just use the death event.

old venture
#

thought so

old venture
sinful spindle
old venture
#

i was eepy when i wrote that pls stop attacking me

wild cosmos
cosmic tide
#

He should get a second downvote_red next to his name for that

grim quail
#

downvote_red DoNotListen

mossy tide
#

I can sort of understand the idea behind it. It'd be like a drop chance percent for the player to actually drop their items on death.

I plan on doing something like that on my server later where it basically does keep inventory except it has a chance to drop an item you are holding or wearing.

sullen bay
#

Should theoretically be as simple as this

#

Using <list[]> because the event has quite a bunch of different determinations and drops expect a list. Might be useless? Untested

#

Also, I'm not sure whether this would actually keep the rest of the inventory or just destroy the rest
Might need a pair of determine KEEP_INV passively + take + drop

dawn flower
#

You don't need the list constructor there

#

<util.random_decimal.is_less_than[0.2]>

#

!t random_chance

weary mothBOT
dawn flower
#

You probably want to:
Check for %, determine held item passively & take it
Then determine KEEP_INV (passively) & NO_DROPS

sullen bay
dawn flower
#

I did

sullen bay
#

ok

dawn flower
#

I'm letting you know you don't need it

#

;-;

sullen bay
#

then don't "wot" me

dawn flower
#

sorry jeez

#

i had just woken up i was processing what i was seeing

sullen bay
#

also random_chance is for:

  • new people because it's definitely a recent tag
  • for people who can't think
#

context.apademide.is_new_person -> false
context.apademide.can_think -> true

#

thus i am unable to use that tag

dawn flower
#

not sure when it was added but the oldest meta pull up of it dates back to 2021

#

nvm i found

#

#changelog message

sullen bay
#

as i said, new

dawn flower
#

ok grandpa

cosmic tide
cloud sigil
#

When is denizen 1.20.6 cominggg (the good release not the in-development release)

sullen bay
#

likely never

#

je retire

#

can't say "likely" because i don't know

#

but "could be" never

#

since 1.21 is already a thing, it might be the next release target

#

or not

#

again, don't knw

#

since i don't know, this pretty much means my 7 previous messages have basically no point

sinful spindle
#

it's increasingly hard to tell with you recently

#

you also shouldn't need the list constructor, single objects will listify themselves if you pass them into a list argument

sinful spindle
#

don't randomly avoid tags that are there to simplify things?

sinful spindle
#

he already said that

grim quail
old venture
#

@frozen brook <element[test].is_empty>

frozen brookBOT
old venture
#

you lied to me inquisitor

sinful spindle
#

Well, that's not an argument

foggy ember
#

Doesn't need to be an argument even, just Denizen knowing what object something takes

#

Or well, I guess still technically an argument, but doesn't have to be a command argument

#

!g overuse constructor tags

foggy ember
mossy tide
sullen bay
#

so what

#

that's not the player base that brings the features, that's the features that brings the player base

#

step 1: have a good server with cool things
step 2: wait on players

mossy tide
#

I gotta have the players to play with and bug test the things I've already got before going off and making more insane stuff. I've already got a 30 page in-game guide book

sinful spindle
#

if you wanna make something, make it. Maybe it'll be the thing that ends up attracting players

sullen bay
#

96.3% of people donโ€™t even fill the ห‹usage` command script keys and itโ€™s fine

dawn flower
#

esp if there's a lot of content to go thru

#

id rather there be a guide to go thru than wait for an answer from players/staff on how to do something

sullen bay
#

Yes but itโ€™s not good to have a huge ass documentation when you have no player in the first place

#

People will like the feature then read the docs

#

You didnโ€™t read the whole denizen meta docs and thought it was cool so started scripting, you saw a bunch of things you could do with scripts then looked at specific meta docs

dawn flower
#

yeah? i wouldn't have gotten anywhere without the documentation in the first place

sullen bay
#

Ye, but denizen existed before its docs

#

Likely started as a simple readme with the few things you could do with it at the time

#

Then it grew, so did the docs

dawn flower
#

I'm not saying to add documentation before adding the features

#

but it's a lot easier to develop both at once imo

sullen bay
#

Ye tru

dawn flower
sullen bay
#

But realistically, the community likely helped you more that the meta docs in itself

dawn flower
#

100%

#

Though, if there was no meta i'd have made x100 more posts

#

Both are pretty important I'd say

sullen bay
#

Which means (especially on small to tiny servers), a helper or two and a few cool things to do have more positive impact and take less time than spending days on setting up docs

dawn flower
#

Imo docs REALLY helps when they're easy to search through

#

or at least, you know how and what to look for

dawn flower
#

yeah on a smaller scale, i agree

#

sorry also i keep forgetting to turn off the stupid pings

sullen bay
#

while making a complicated in game doc thing is a whole system to think about and "adds nothing"

#

Ah ye also Iโ€™m not saying itโ€™s bad to have docs im saying itโ€™s bad to spend too much time early on on business ready huge docs

#

Denizen Meta Docs vs. a readme; a complete minecraft ingame GUI vs. Just put patch notes in your discord group

dawn flower
#

most servers i play on make their guides on those wiki sites

#

which i prefer a lot more than in game docs/guides

#

since it's pretty easy to scour them for specific stuff

sullen bay
#

(In addition to being easier to setup)

#

(And Google-able when you become a thing)

dawn flower
sullen bay
#

Usually a simple code "parser"

#

Just some kind of regex on your codebase

#

And a specific comments syntax of some sorts

#

Many different flavors of the same underlying idea

dawn flower
#

sounds fun to play around with, at least for the experience ๐Ÿง‘โ€๐Ÿฆฏ might give it a shot if i get super bored sometimes

#

anywho, show time, cya o/

mossy tide
#

I had about 10 entries in the book with 1-2 pages per entry. It has a table of contents in the front of the book to quick travel to the page for that section

#

I've got an open dev log on the discord for the server where people can ask questions as I go

fleet kernel
#

can you spawn in a map as a displayed entity

#

or does it have to be placed

graceful laurel
#

an eggcellent post question

cosmic tide
#

๐Ÿฅš

old venture
mossy tide
#

I'd imagine you can spawn in an item frame with the map in the contents, but try it

fleet kernel
#

so i can stretch it and esit

mossy tide
#

I mean soon you can do it with entity scaling :)

#

Or you could make it a 3d model as a copy of it to spawn as an item display, just wouldn't update lol

#

I've been using 3d models with item displays for my custom crops lol

mossy tide
#

I got my big lore proc to work now and it's hot af now. Works for food, armor, weapons. I'll probably reformat enchants too

#

borgar

#

I just got a master pickup data script working so it converts vanilla items to my custom versions like replacing animal drops with the custom food with food poisoning and new food values

grim quail
#

That's cool, you may wanna consider making a border inbetween things so it looks better.

#

And spacing.

mossy tide
#

Ah yeah that's good, I thought about it, but never got to it

#

I'm mostly running lines like this define lore "<[lore]><n><gold>Replenishes <yellow><[2].flag[food]> <gold>hunger."

#

I can def add breaks like that

grim quail
#

Yeah, fair.

mossy tide
#

It'd work good for the armor or weapon attribute boxes

mossy tide
#

So uh, I thought this was how data maps worked before. Not real sure how I managed to get it to work in the first place lol

Stew_Recipes:
  type: data
  #alchemical:
  meat:
    - curry_chicken:
      - cooking_raw_pork
      - new_carrot
      - cooking_raw_chicken
    - meat_stew:
      - cooking_raw_beef
      - cooking_raw_pork
      - cooking_raw_chicken
  #veggie:
  alcohol:
    - wine_mash:
      - new_sweet_berry
      - new_sugar
      - new_sweet_berry

But hey it worked

Wow that's cursed knowing how maps work better now

      - foreach <script[stew_recipes].data_key[<[cauldron].flag[base]>]> as:map:
        - define key <[map].keys.get[1]>
        - define recipe_ingredients <[map].get[<[key]>]>
#

I love denizen :)

grim quail
#

That can probably be improved. Consider making a thread.

mossy tide
#

I already am gunna fix it lol, I just made a thread asking for help with map tags and I'm showing now my idiocy :)

#

^Already closed said thread too

grim quail
#

Yeah. Consider submapping though.

#

Also consider the key argument with foreach.

mossy tide
#

Yeah that's the plan. I remember I somehow discovered sub mapping before I even knew lol when just working with flags

mossy tide
grim quail
#

Cool

mossy tide
#

Ignore the insane ingredients

#

:)

grim quail
#

By the way the method of my border is strike through space

mossy tide
#

Oh, I actually haven't even played with strike throughs in formatting

grim quail
#

<strikethrough><&sp>

#

Repeat sp as necessary

mossy tide
#

Oh good I was about to do <element[ ].strikethrough>

grim quail
#

Do what you feel is best for a border, but this feels cleaner

mossy tide
#

I just gotta see about setting up an actual lore line in the format for the eventual quirky item references

#

oh god all of my food items already have a lore line, this is gunna be pain

#

much better

mossy tide
strange sun
#

Hello everyone, denizen issues an error who can help?

wild cosmos
strange sun
wild cosmos
thorn bone
#

Where is Clientizen mod?

foggy ember
#

The plugin is just Depenizen

thorn bone
#

oh i see

foggy ember
#

(But also #1131872289688928266 for Clientizen-related stuff)

cloud sigil
#

Why isnt depenizen merged with denizen?

#

Why is there a whole seperate plugin for something pretty small (afaik), and not just included in Denizen

foggy ember
#

I mean, Depenizen isn't exactly small, it's integration with several other plugins (and Clientizen ^)

cloud sigil
#

hmm

wild cosmos
#

it would be bloatware

low radish
#

Depenizen is a bit of a technical nightmare tbh

#

arguably, Clientizen and Bungee support could be moved from Depenizen to Denizen

#

but all the rest, noooo keep it away

grim quail
#

Built in clientizen would be interesting.

sinful spindle
#

it wouldn't do anything without the mod anyway

#

we'd just get way more confused support threads about why their commands weren't working lol

fleet kernel
#

is redstone named dust now

cosmic tide
#

What

#

No

fleet kernel
#

yes

#

ctrl+f redstone

#

its just dust

cosmic tide
#

Dust particles have existed for a long time

fleet kernel
#

i even got an error in console saying its deprecated

cosmic tide
#

Guess they merged it

foggy ember
pulsar dagger
#

Anyone know where location flags are stored? I can't find them in the world files or denizen folder.

grim quail
#

!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!

jolly abyss
#

!update depenizen

weary mothBOT
jolly abyss
#

!update denizen

weary mothBOT
final pier
#

Does anyone know a good web api to edit MIDI files?

mossy tide
#

I reworked my stew system and made a new stats page which keeps track of all recipes the player discovers when experiementing with stews. Very happy that I got it working

#

Now I'll have proper tracking for any and all recipes I make going forward as it's working off a submapped flag on the player

#

One of my goals later on is to essentially create an equal that rivals the plugin Brewery. I already have fermenting, brewing and bottling working, just need brews to actually code in!

grim quail
#

Fascinating.

fleet kernel
mossy tide
#

Around 190 edible items

foggy gorge
#

lasagna?

mossy tide
#

borgar

foggy gorge
#

pizza?

mossy tide
#

oh yeah I also have a nutrient system

#

I can always add more stuff

unkempt torrent
#

reminds me of xeane

foggy gorge
#

talfeane

mossy tide
#

Working off an old resourcepack for pam's back in 1.7.10 or something

foggy gorge
#

thas old

#

how old is 1.7 again

mossy tide
#

hey I don't want to get in trouble for using recent assets haha

foggy gorge
cloud sigil
#

Train it on a bunch of existing minecraft food icons

#

and real food

foggy gorge
#

string sandwich

#

@small kernel give us three custom minecraft food ideas where the recipe calls for either string or cobweb!

small kernelBOT
foggy gorge
#

stringy stew, called it

#

sprinkle of gunpowder on top
lol

mossy tide
#

Oh god I tried to use a stable diffusion to gen textures, that didn't go well

cloud sigil
mossy tide
#

I'm glad I remembered that I had the resourcepack before I went too into it

#

I think I'm using the stable diff for book textures though since I'm bad at art

cloud sigil
#

I suck at pixelart too. But I know that AI is dogshit at pixelart lol

#

Have tried too many times

mossy tide
#

Though I did get into 3d modelling recently and that didn't turn out too bad for custom crops

rigid idolBOT
mossy tide
#

Should be Corn, Barley, and Rye

#

Gunna use it for alcohols in my brewing system

unkempt torrent
#

yay

raven barnBOT
#

+> YAY!!!

grim quail
#

But I haven't mingled enough with it.

#

I know blockbench can help with this.

mossy tide
#

I'm using item displays for the 3d model crops

#

yeah blockbench, great help

#

I'm having the crops piggyback off of an invisible beetroot crop for their growth cycles

grim quail
#

Ah.

#

Clever.

#

I was wondering how you managed the actual block aspect of it.

#

How did you make the beetroot invisible?

mossy tide
#

I screwed the texture into being transparent

cloud sigil
mossy tide
#

:)

grim quail
#

Then what about actual beetroot?

cloud sigil
#

who eats beetroot

foggy gorge
#

nobody

cloud sigil
#

exactly

foggy gorge
#

dingdingding

mossy tide
#

I'll remake it later into the 3d model version

cloud sigil
#

ahh so youre going for the 3d style

grim quail
#

I thought you did something like fakeblock air for everyone on the server.

foggy gorge
#

what do we look like, dwight from the office

mossy tide
#

It just looks better as 3d

mossy tide
#

I imagine my method would have less errors as wouldn't you have to fakeblock it every time a player enters render or something

grim quail
#

I-

#

Don't actually know if that is how that works.

mossy tide
#

I don't know either!

grim quail
#

This sounds like a TIAS

mossy tide
#

It also sounds like a, "It works, why break it!"

#

:)

cloud sigil
#

amen

grim quail
#

True. Not to mention I don't know how well it'll work with blocks that alter the existing block.

#

Such as growth.

mossy tide
#

Yeah I'm running a lot of flagging and data off of the beetroot crop itself

unkempt torrent
#

Oohhh Item displays

mossy tide
#

Yess

grim quail
#

Pretty clever.

mossy tide
#

So it spawns the item display with the name input from the crop

unkempt torrent
#

Hm interesting

#

I think I would work with entity flags for stage

#

Instead of multiple entities

mossy tide
#

Well it removes the entity and spawns the new one

#

Can you easily just change the item in the display?

cloud sigil
#

wait so the actual crop is an item display?

#

with an invisible beetroot

mossy tide
#

It's an item display sitting ontop of an invisible beetroot

cloud sigil
#

hmm

#

I see

mossy tide
#

ye

grim quail
mossy tide
#

Wish I figured that out sooner. I'll change that when I get the next batch of crops to code and model

unkempt torrent
#

oh legacy already answered

cosmic tide
#

!makepost

weary mothBOT
# cosmic 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!

foggy gorge
bitter crown
#

simple DPS tracker:

    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> as:__player:
          - flag <player> dps:!```
#

I use this on the action bar so players can see their DPS

#

and a placeholder that pulls that flags value

grim quail
#

!t online_players_flagged

weary mothBOT
grim quail
#

Might be better.

bitter crown
#

it flags everyone

#

cwhen they hit

#

anyone who hits gets flagged

#

I see what you mean

#

But

grim quail
#

You're flagging the attacker, and foreaching all online players and removing the flag. I'm saying it'd be better to forloop players flagged with dps

bitter crown
#

yes, but by how much realsitcially?

grim quail
#

I suppose I see your point. Might be worth a thread asking if it's worthwhile.

bitter crown
#

i did change*

#

Im just saying its such a negligible impact

#

i also wrote:

    debug: false
    type: world
    events:
        on player damages entity:
        - ratelimit <player> 1s
        - if <player.item_in_hand.raw_nbt.get[MMOITEMS_ITEM_TYPE].after[:].if_null[null]> == DAGGER && <player.item_in_offhand.raw_nbt.get[MMOITEMS_ITEM_TYPE].after[:].if_null[null]> == DAGGER && <player.item_in_hand.raw_nbt.get[MMOITEMS_ITEM_ID].after[:].if_null[null]> == <player.item_in_offhand.raw_nbt.get[MMOITEMS_ITEM_ID].after[:].if_null[null]>:
            - if <player.attack_cooldown_percent> >= 50:
                - execute as_server "ml tempstat add <player.name> ATTACK_DAMAGE <context.damage.mul[2]> 20 default"```
#

for mmmoitems to sort of hack-ish method of dual wielding

#

.

grim quail
#

Lowkey feel like you should make that a proc instead of a lengthy nbt tag, but that's my personal opinion.

bitter crown
#

a proc?

grim quail
#

A procedure.

bitter crown
#

It needs to check NBT since denizen doesnt have support for mmoitems

grim quail
#

I'm saying is, wouldn't it be better to make your own procedure that returns that information instead of putting down the exact same lengthy tags up to 2 or 4 times?

<player.proc[mmoitem_type].context[hand]> and it'd run that big nbt tag you're doing? Could even define them prior.

#

Maybe it's just my type of practice.

#

Cool though.

fleet kernel
#

heres my damage dummy

errant cairn
#

When 1.21 ๐Ÿ˜ญ

grim quail
#

!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!

errant cairn
#

Ok didnt know, im new

mossy tide
#

Not asking support, just want someone else to see this insanity I'm fighting

[21:05:16] [Server thread/INFO]: Filled tag <proc[Cooking_Math_Proc].context[dough]> with '1.5'. 
[21:05:16] [Server thread/INFO]: +> Executing 'DEFINE': Queue='q@COOKING_MATH_PROC_81_NamAe'  (ingredient_value:ADD:2) 
#

However if instead of an add function, I just use set it doesn't round up to 2 for who knows why

#

I just want to be happy and have proper working math. I didn't graduate HS from Calculus 2 to be fighting with addition :(

unkempt torrent
#

Maaaaaaybe

#

maaaaaaaaaybe

#

you should ask for support

mossy tide
#

bro I'm in so deep I don't even know what's happening anymore, but all I know is using set works for what I want :(

#

Could be because I'm using dev branch on 1.21, I also haven't updated in a week or so

errant cairn
#

Can I see the armor of invisible npcs?

unkempt torrent
#

!makepost @errant cairn

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

make also sure you are in the correct channel

errant cairn
#

Isn't it the right channel?

unkempt torrent
#

You clicked the forum thread that explicity says NOT FOR QUESTIONS / SUPPORT

grim quail
#

Been fiddling around, managed to make a small replica of Infernal Mobs through denizen.

#

Mobs have specific blacklisted affixes. Ex: Blazes don't have fire resistance, cave spiders can't have poison, shulkers can't have knockback immunity. Etc.

#

It's an excuse to play with mob scaling.

cosmic tide
#

But check your ping

old venture
old venture
#

infernal mobs will always be a cool concept

quartz wraith
#

it was written really poorly but i made it data driven

old venture
#

yeah it remember being in chaozen

#

so it really was you

old venture
quartz wraith
old venture
#

that sounds so fancy

quartz wraith
#
mob_mod_speedy:
    type: world
    debug: false
    mob_modifier:
        type: prefix
    events:
        after entity_flagged:mob_modifiers.speedy spawns:
            - adjust <context.entity> speed:<context.entity.speed.mul[1.5]>

for the mob modifiers (both suffix and prefix) you would just make a world script with the name starting with โ€œmob_mod_โ€ and a data key called โ€œmob_modifierโ€

#

also i cant tell if youโ€™re insinuating that i โ€œmade it first in denizenโ€ because i absolutely did not, i think adriftus did, which is where i got the idea. not to mention that the whole concept is based on infernal mobs

grim quail
#

There's a huge data container for the rarity of the mob, prefix/suffix blacklist per entity type, and the suffix/prefixes display and potential modifiers that are used in a choose/case during a run task to apply them as a modified mob. Usually adjusting their base attributes in some form unless it's something special like vamprism or random status effects applied on hit.

#

Rarity also influencing some of these modifiers such as walk speed/attack damage.

#

I'm running it in a mcve before I put it onto my personal project server, because while attributes for damage is nice, I completely override damage for my personal server and dictate stuff via a data container for every single mob.

quartz wraith
#

so there is no weighting system which sucks when you have a modifier that just makes the mob super powerful

grim quail
#

Ye. Can't let have blazes have fire res and such.

#

Also have to flag the server with every single mob so I can delta forloop em for visual fx.

quartz wraith
#

another thing i didnโ€™t do, particles, i forgot about those

grim quail
#

It's cool trying to think up names.

#

I had to look up a mob generator to remember what attributes did what, and which attributes can be assigned to mobs. Because attack speed isn't changable sadly.

#

Like, TIL there is water movement and oxygen bonus (???) attributes.

quartz wraith
#

weird

low night
#

guess that's for the enchantments for depth strider and respiration

grim quail
#

Well that's just terrifying in a sense. I continue to make a few more extra affixes to slap on.

Immune means they're immune to any negative effect, so withering, poison, weakness, and others will not work on them. Chaos means they will randomly put a bad effect on you when they strike.

#

Eventually I plan to let their rarity (Color) dictate how strong and long an effect is given.

cold grotto
#

what does this mean?

cosmic tide
#

That you need to make a thread

errant cairn
#

is it possible to hide an npc but show his nametah

#

nametag

fleet kernel
#

!makepost

weary mothBOT
# fleet kernel !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!

errant cairn
#

why isnt this working type: world
events:
after player clicks wooden_sword in inventory:
- execute as_op "summon pig"

weary mothBOT
# wild cosmos !makethread
Info: makethread

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!

wild cosmos
#

how tf does if_null or exists even work ๐Ÿ˜ญ im looking at internals and... wat

graceful laurel
#

if a valid elementtag is provided, itโ€™ll return true

mossy egret
#

my guess is - look how its registered on ElementTag.class, so the tag only exists for elementtags

#

things that return null don't return elementtags

#

so it won't use this tag, and it won't return ElementTag(true)

low radish
low radish
grim quail
#

I've done a stupid.

#

I'll probably turn this into a showcase display, but for now

#

Why?

#

Funny.

quartz wraith
#

lmao

grim quail
#

Still trying to figure out the glass breaking particles, gotta include a minor cooldown for survival players.

grim quail
#

@old venture Did you yeet your github for dCommands?
https://forum.denizenscript.com/resources/dcommands.122/

Tried to click on the wiki and it 404.

old venture
#

huh

#

i might have

reef wharf
#

@fossil steeple warn @night glacier normal rule 4 after you asked I said not to

fossil steepleBOT
#
Warning Recorded

Warning from @reef wharf to @night glacier recorded.
Reason: "rule 4 after you asked I said not to"

reef wharf
#

Please open a thread.

vast python
#

denizen for minecraft version 1.21?

grim quail
#

!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!

vast python
#

but i couldn't find denizen for 1.21

grim quail
mossy tide
#

Hey does anyone know what mechanic it is to shove text on the middle of the screen or is that just a modded mc thing and I'm losing my memory

#

(It's a high chance I am developing not only code, but also amnesia)

cosmic tide
#

!c title

weary mothBOT
# cosmic tide !c title
Group

player

Syntax

title (title:<text>) (subtitle:<text>) (fade_in:<duration>/{1s}) (stay:<duration>/{3s}) (fade_out:<duration>/{1s}) (targets:<player>|...) (per_player)

Short Description

Displays a title to specified players.

Description

Shows the players a large, noticeable wall of text in the center of the screen.
You can also show a "subtitle" below that title.
You may add timings for fading in, staying there, and fading out.
The defaults for these are: 1 second, 3 seconds, and 1 second, respectively.

Optionally use 'per_player' with a list of player targets, to have the tags in the text input be reparsed for each and every player.
So, for example, "- title 'title:hello <player.name>' targets:<server.online_players>"
would n...

cosmic tide
#

@mossy tide ^

mossy tide
#

Ah that makes sense, I knew I wasn't losing my memory just yet

deft ginkgo
#

is there a way to check if an element tag have any special characters/symbols?

#

Looking for a way for players to enter only alphanumerical text

mossy egret
#

!makepost

weary mothBOT
# mossy egret !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!

pliant viper
#

Heya, how does denizen compare in terms of performance to say skript?

#

Skript really decreases performance on large servers

grim quail
#

I swear every half year we get this question.

graceful laurel
#

in my experience with some larger things though, it's been pretty performant and works pretty well

#

unsure about it in comparison to skript though as i've never used skript

dark hill
old venture
#

and when there is someone doing that, spark profiles say denizen's not the culprit

#

and as far as i've scripted, if it lags you did it wrong

low night
#

Denizen is well optimized

mossy tide
#

It took all day, but I am getting projectiles working slowly, It's my first time working with raycasting and moving display entities, but I'm using some old code for magic to get an understanding to how to do particles. I already see I'm gunna have to redo it entirely as I'm doing a particle for every half a block and I can see it puts a strain on the server to render and check for targets.

Anyways, here's Burger Projectile.

#

I posted this alongside the sneakpeak in my server

tepid hull
#

#actives-only message

dry lily
mossy tide
#

Currently the projectiles are using an old targeting foreach from the old magic system I was cannibalizing, so it's kind of laggy. I want to see if I can have the particle to instead Mount the projectile Item Display and do it like that.

rigid idolBOT
fleet kernel
#

playeffect at the projectiles location

mossy tide
#

Yeah that would prob work too, I'll have to also rework the targeting. Lemme show how it's being done currently.

    - foreach <[loc1].points_between[<[loc2]>].distance[0.5]> as:value:
      - playeffect effect:dust special_data:2|<color[<[color]>]> at:<[value]> offset:0
      - wait 2t
      - foreach <[value].find_entities.within[1].exclude[<player>|<[projectile_entity]>]> as:target:
        - if <[target]> in <[target_list]>:
          - foreach stop
        #- narrate "found <[target].entity_type>"
        - define target_list:->:<[target]>
        - hurt <[damage]> <[target]>

Very not nice due to the points_between running so often

#

I might make a thread if I want help, just wanted to show how its done rn

wild forge
#

can denizenscript make custom recipes? im looking for something like kubejs but serversided so this is perfect if it can do that

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!

wild forge
#

okay, sorry!

#

thanks for the ansswer anyway!

wispy basin
#

update java 21 and paper 1.21 not working?

unkempt torrent
#

java 21 should worki

wispy basin
#

[23:26:44] [Server thread/INFO]: +> [Denizen] Running on java version: 21.0.3
[23:26:44] [Server thread/INFO]: +> [Denizen] Running on unrecognized (future?) Java version. May or may not work.
[23:26:44] [Server thread/WARN]: [Denizen] -------------------------------------
[23:26:44] [Server thread/WARN]: [Denizen] This build of Denizen is not compatible with this Spigot version! Deactivating Denizen!
[23:26:44] [Server thread/WARN]: [Denizen] -------------------------------------
[23:26:44] [Server thread/INFO]: [Denizen] Disabling Denizen v1.3.0-SNAPSHOT (build 1804-RE

unkempt torrent
#

Wanna make a post?

#

!makepost

weary mothBOT
# unkempt torrent !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!

unkempt torrent
#

I'll will help you then

dreamy orbit
#

Finally took the decision. Im removing mmoitems and writing all the systems i Will Need in denizen directly.

unkempt torrent
#

yay

raven barnBOT
#

+> YAY!!!

unkempt torrent
#

This will make so many things easier for you

dreamy orbit
#

Idk all the hard stuff was managing lore changes. At the end It Will be a lot the same for that

(I think)

#

this is the ""hard"" stuff i'm handling and that take me a lot of time to make correct every time.

idk if this will be more simple or the same removing mmoitems and using only denizen

unkempt torrent
#

woah white mode

#

Is this vscode? thonk

dreamy orbit
#

Nha got it from my git repo

mossy tide
#

Looking at it, is this converting Mmoitems when you receive them? If so then it's just a bandage until you actually convert them on the backend with item scripts

graceful laurel
#

i'd imagine it's some sort o inventory gui thing

mossy tide
#

You could also simplify some of your definitions like stat_value since you're already defining the raw_nbt. It'd just be like <[raw_nbt].get[MMOITEMS_<[stat]>].after[:]>

#

But I could be wrong in that tag, writing tags on mobile is ass

#

Idk I'm one who overly relys on definitions

dreamy orbit
#

That Is a gui script to change a dtst of an item and update the custom lore

#

Idk why i did not define a raw nbt but i think there was a rradon but this script Is kinda old so i dont Remember clearly

fleet kernel
#

might want to boot back up my mythic to denizen project again

deft ginkgo
#

breeze rod isn't a valid material apparently (in vscode)

grim quail
#

!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!

deft ginkgo
#

๐Ÿ‘

dreamy orbit
#

i was thinking that probaly i could make a dynamic lore building script that build the lore for all the items but idk will have to experimentate.

old venture
#

couldnt you theoretically just read the yaml?

#

like i know its possible just dont know if it'd be better

unkempt tinsel
#

Does anyone know how to lock spectator_target
I mean to not let player shift and quit entity spectating

wild cosmos
#

!m spectate

weary mothBOT
# wild cosmos !m spectate

Forces the player to spectate from the entity's point of view, using a packet (meaning, the player starts spectating clientside, but not serverside).
The player will not move from their existing location serverside.
To cause real spectator mode spectating, use !mechanism PlayerTag.spectator_target
Note that in some cases you may want to force the player into the spectate gamemode prior to using this mechanism.
Note: They cannot cancel the spectating without a re-log -- you must make them spectate themselves to cancel the effect.
Like: - adjust <player> spectate:<player>

Object

PlayerTag

Input

EntityTag

wild cosmos
#

also

#

!makepost

weary mothBOT
# wild cosmos !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!

dreamy orbit
wild cosmos
#

write a python script to convert some of it automatically

old venture
weary mothBOT
# old venture !c yaml
Group

file

Syntax

yaml [create]/[load:<file>]/[loadtext:<text> raw_format]/[unload]/[savefile:<file>]/[copykey:<source_key> <target_key> (to_id:<name>)]/[set <key>([<#>])(:<action>):<value> (data_type:{string}/integer/double/boolean/auto)] [id:<name>]

Short Description

Edits YAML data, especially for YAML files.

Description

Edits YAML configuration data.

This commands exists primarily for interoperability with pre-existing data files and other plugins.
It should never be used for storing data that only Denizen needs to use. Consider instead using !command flag.

Use waitable syntax ("- ~yaml load:...") with load or savefile actions to avoid locking up the server during file IO.
Refer to !language ~waitable.

For loading and saving, the starting path is within 'plugins/Denizen'.
The file path follows ...

old venture
#

there's also tons of tags for yaml

mossy tide
#

Hey since it's not really a denizen issue exactly, anyone know why the coloring isn't working properly for VScode? Just opened it up and tried to close and open multiple times, it sticks with the last color it was doing.

#

I've had the problem in the past, but it was fixed by just reopening the file

#

Oh annoying I opened another file I had and it fixed, ignore me then

grim quail
#

Usually just opening another fixes it. It's a common issue and I don't know if there is ever going to be a perma fix.

mossy tide
#

god I'm dumb

#

thanks krilliant

grim quail
#

I love updating my servers from a minecraft version. :)

(Not asking for help, just passively complaining that I have to fix my own problems.)

hallow scaffold
#

rip waterbottle โค๏ธ

old venture
quartz wraith
old venture
#

did they kill it or was it remapped to a different name just like everything else in 1.21?

unkempt torrent
#

mechanisms dont work on 1.21 yet

#

that potion effect thingy

copper stag
#

npc not coming but how to fix itI'm adding the mod but the npc is not coming any kind of citizens

unkempt torrent
#

!channel @copper stag

weary mothBOT
# unkempt torrent !channel <@754003658110271618>
Info: 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.

visual portal
#

Is it out for 1.21 version?

fleet kernel
visual portal
#

gotchu, thanks

dreamy orbit
#

oops sorry ping active

fleet kernel
dreamy orbit
#

ah sad, both for he/she and for the wallet ๐Ÿ’€

#

let's hope that the hdd/ssd was at least in good condition for the ability to extract data

cosmic tide
#

le gasp

#

How dare someone use the pronouns section for pronouns

mossy tide
#

I still find that section funny with it's limit. Just look at mine

#

Wait tf it's gone. You could put 20 characters long for your pronouns

#

Oh it was just on my home server

grim quail
dreamy orbit
#

Always forget it exists lol

foggy ember
snow sonnet
#

Hi, just letting you know, the link on the spigot page that supposedly goes to the latest devbuild, actually goes to a 5 month old build. Might wanna update it.

low radish
#

if you mean the link to the latest release build, yeah that hasn't been updated in a while as spigot itself hasn't been stable, I haven't had time to focus on things, and aya's laptop is dead

#

ie: upstream is unstable and us devs aren't active enough to compensate

#

er, s/spigot/minecraft basically

#

the whole 1.20.6 update kerfuffle

snow sonnet
low radish
#

yeah those are the release builds

snow sonnet
#

Ah fair enough. At first I think I didn't realise the large gap between the dev and release builds

#

And I hadn't gone down to the Dev builds link further down

#

I assumed someone forgot to update the link or something haha

lament verge
#

man I didn't know 1.20.6+ update is still in shambles for spigot/minecraft

#

I was actually waiting for these to like get stable so I can continue working on a server

mossy tide
#

I just kept working on my stuff and gave up on stuff that is broken as I know it'll be available to fix later.

lament verge
#

yeah thats what I'm doing rn. some of the features on the modules I worked on broke so I had to shelf them until tthings becomes stable

#

so rn just stopped doing dev coz everything else is done reworking

grim quail
#

Same. Need some problems alleviated, but I know this is a free plugin and it takes time to work things out.

#

Really looking forward to that scaling attribute.

mossy tide
#

Yeah same I think it works currently in 1.21 but I haven't had a need to test with it. I know stuff will be fixed eventually. This plugin honestly really opened me up to having fun with coding. Only problem now is time and motivation to finish projects. :(

low radish
#

if i was currently running a server and needed use of any of the things that broke, i'd be sitting on 1.20.4

#

not ideal but that's the last relatively stable version

grim quail
#

Unfortunately, scaling is 1.20.5 :(

mossy tide
#

Sadly I already updated and ran on 1.21 for a bit and I found that trying to downgrade the world on the server caused it to crash the server on launch.

wild cosmos
#

ye downgrading is never supported

errant cairn
#

any1 knows how to disable falldamage?

wild cosmos
#

theres a gamerule for that

#

otherwise

#

!makepost

weary mothBOT
# wild cosmos !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!

errant cairn
#

I dont want to make a post for every question i have ;/

#

can i make one for ALL my questions?

foggy ember
#

I mean, it's literally just one button press extra, and it helps us manage everyone's support questions

#

If they're all related (I.e. the same project) you can probably do one post

shrewd estuary
#

It really nice for other people who have the same questions as you. I can search the posts and oftentimes find the answer to my question because someone before me made a post. ๐Ÿ‘

grim quail
#

I'm not sure how thats related to denizen.

feral stirrup
#

Good point

mossy tide
#

Ooooh I hate that, I was halfway through writing a support thread since Definemap stopped working when I was using it for the first time and I didn't know why(I still don't) and then I went to add another key to the map since I forgot it for a spell component and it works just fine.

#

like why tf isn't the coloring working properly its frustrating, makes me think its borked

wild cosmos
#

yea known issue

tepid hull
#

Try to avoid using ||, though, if needed, use .if_null[]
Then again, avoid relying on fallbacks alltogether.

mossy tide
#

It's sort of needed when I'm relying off a single modular script to parse data from items with different possible flag dates.

tepid hull
#

If there's reason to believe that flag might not exist, you can check with has_flag[] prior, or even as a global condition.

dawn flower
dawn flower
#

that way you don't have to deal with nulls and only have the stats that are existent

mossy tide
#

Appreciate the suggestion, I might change it around later, but I think how I've got it handled with the definemap above is workin great since I am passing it through a run task which has each definition it needs so it grabs that and ignores the extra defs. I tried to make it modular.

I might put it in a showcase if I get it in an actually useable state, its more of a proof of concept right now trying to setup different types of runestones/spell bases. The basic concept of the system is different Gemstones represent different possible spells when put in combination with targeters such as projectile, utility, touch. A Ruby might do a Fireball spell when used with a projectile targeter, whereas a Sapphire could freeze ice around you when used with a Utility targeter.

So far I've gotten basically 4 different element types working for gems and a random gem size function when the gems spawn which modulate the power and uses of a created spell. Am very happy hence my block of text(It's almost 5 AM, kill me please)

dry lily
#

ill just keep using || cuz there is no problem with that

unkempt torrent
#

The problem with || is that it becomes a little messy when using tags in fallbacks

wild cosmos
#

and it looks weird

low night
#

avoid using them in monster tags

#

in a single tag, probably not the worst idea

grim quail
#

I really need to remember to turn off my self debugging messages when I'm trying to do something unrelated.

unkempt torrent
#

oh shit a rat

mossy tide
#

How long do you have to stay in the sun until your race changes to "Sunfull"? :3

grim quail
#

I usually put dumb messages so I know exactly where they are.

grim quail
#

MONSTERS HATE THIS ONE TRICK.

mossy tide
#

Hey atleast it's not as bad as some of the ideas from my team. They wanted Avian players to lay eggs every now and then

grim quail
#

I mean.

#

I get it.

#

But probably only if they pressed sneak and the delay was over.

#

Next thing you know you're having 10 players squat to egg farm with the chickens and you coded up a golden egg chance.

mossy tide
#

Cursed

grim quail
#

We do have #1098024603756015726 but I think that's a different idea of cursed.

unkempt torrent
zealous frost
#

Thank you for letting me know, I'll fix it later when I'm available

grim quail
#

I almost had to make a post for my issue, until I realized I was missing vault for an economy script container.

#

Turns out if you don't, denizen doesn't recognize the script type economy. I feel like it should be a little more informative than that, but you know.

#

( Also it even ignored the enabled key which I was hoping would be read first. )

graceful laurel
delicate stag
#

does this mean 1.20.1 is not supported or wth?

#

!patchversions

weary mothBOT
# delicate stag !patchversions
Info: patchversions

We support only the latest patch-version of Minecraft for any recent main version (and Mojang, Spigot, Paper, etc. all generally also follow the same rule).

"Patch version" means the last number in a version label, for example in 1.20.6, the main version is 1.20, and the patch version is .6.
So if 1.20.6 is the latest patch version, then 1.20.3, and 1.20(.0) are all outdated patch versions, and therefore are unsupported.

Note that we do still support recent older main versions (such as 1.19 and 1.18) so long as you are on the latest patch-version of those main versions (like 1.19.4 and 1.18.2).

delicate stag
#

oh shit

#

well sorry

grim quail
delicate stag
grim quail
#

If you need help updating your server to a recent patch you can make a thread though.

delicate stag
grim quail
#

If you mean it's weird how we drop support for versions that are not the latest patch, it's because it's better to remain on more supported versions that already have bugfixes, performance increases and vulnerabilities patched out.

Helpers and developers have explained this before, but I realize it's not in the info box.

#

One can argue the same thing for remaining on 1.19.4, but I don't have an answer for that.

#

Which I'm just assuming stability.

#

There's also the spigot limitation of file size and files.

queen scroll
#

Hello Friends, is there any problem when i run Skript and Denizen?

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!

wild cosmos
#

just realized we cant define list of maps in data scripts lol

unkempt torrent
#

can you provide that script

#

I had a similar case where it did work

wild cosmos
rain sun
#

its been two years since i did something with denizen, is there a good way to catch up on whats changed besides reading the changelog?

wild cosmos
#

dont think so, if you want to see changes.. well you should look at change-log

hallow scaffold
#

i'm searching for someone to join my denizen-coding team on my server - is there an option to do such advertising?

mossy tide
#

There's a #1023545298640982056 but that requires actual monetary investment, otherwise not sure exactly what you can do as an incentive. It's difficult to get people onboard with passion projects(I am in the same boat, not enough time to work on my project)

shrewd estuary
graceful laurel
#

can relate lol

zealous frost
#

Is there any events on discord something like on boosted server/after boosted server?

unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !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
#

I bought a spell icon pack like a year ago and only just made use of it by rigging it up to my runestone spell system

#

I think it worked well

#

last pic

wispy basin
#

[04:11:23] [Server thread/INFO]: [Denizen] Enabling Denizen v1.3.0-SNAPSHOT (build 1804-REL)
[04:11:23] [Server thread/INFO]: +> [DenizenCore] Initializing Denizen Core v1.91.0-SNAPSHOT (Build 1378), impl for Spigot v1.3.0-SNAPSHOT (build 1804-REL)
[04:11:24] [Server thread/INFO]: +> [Denizen] Running on java version: 21.0.3
[04:11:24] [Server thread/INFO]: +> [Denizen] Running on unrecognized (future?) Java version. May or may not work.
[04:11:24] [Server thread/WARN]: [Denizen] -------------------------------------
[04:11:24] [Server thread/WARN]: [Denizen] This build of Denizen is not compatible with this Spigot version! Deactivating Denizen!
[04:11:24] [Server thread/WARN]: [Denizen] -------------------------------------
[04:11:24] [Server thread/INFO]: [Denizen] Disabling Denizen v1.3.0-SNAPSHOT (build 1804-REL)

weary mothBOT
# zealous frost !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!

frail quarry
#

!c adjust

weary mothBOT
# frail quarry !c adjust
Group

core

Syntax

adjust [<ObjectTag>/def:<name>|...] [<mechanism>](:<value>)

Short Description

Adjusts an object's mechanism.

Description

Many object tag types contains options and properties that need to be adjusted.
Denizen employs a mechanism interface to deal with those adjustments.
To easily accomplish this, use this command with a valid object mechanism, and sometimes accompanying value.

Specify "def:<name>" as an input to adjust a definition and automatically save the result back to the definition.

You can optionally adjust a MapTag of mechanisms to values.

To adjust an item in an inventory, use !command inventory...

dry lily
#

cmon pls someone

dry lily
#

is everyone asleep rn?

unkempt torrent
#

Please be patience

mossy egret
#

bro its one hour

graceful laurel
#

i'd like to add that i was, in fact, asleep.

sinful spindle
dry lily
#

mb i thought this was mostly european ๐Ÿ’€

mossy tide
#

Oh man I'm getting so hyped to do my brainstorming for my next project system, but at the same time I know I'm going to start coding and immediately hit a slogfest. But it seems so promising eeee.

rigid idolBOT
mossy tide
#

Maybe I'm just really cold since its past midnight, I should sleep

#

I'm gunna make a regenerating dungeon system that players can clear and then tear apart for building materials and it'll then auto regenerate after a week

grim quail
#

That's..

#

Not something I've thought about.

mossy tide
#

Lemme repost from my dev server.

#

My idea is to have a final objective block that acts as the ward/protection of the dungeon at the end of it where the player can break to dispel the protections. Think of it like a dungeon core. Once broken, it'll send a flag to the server stating its been beaten and to put itself up for full looting and recycling.

Once the storm begins it will check every dungeon in a list and if its eligible for regenerating, it will run that dungeon's regen task.

This will constitute a multi-stage process as follows:

  1. Unregister any mob spawners
  2. Kill any entities inside
  3. Remove all Blocks
  4. Paste in new Schematic
  5. Spawn all special decorations or entities at specified Coords
  6. Spawn Mob Spawners
  7. Place Chests with loot tables
  8. Remove itself from being Eligible in the list
#

Storm being my server cleanup and reload event happening weekly

#

Think of it like Stalker's Emissions or Elona's Ether Winds. Very deadly events that happen just as life events

dry lily
#

why is support gone?

mossy tide
#

What do you mean? Ps. It's 2AM PST rn so do the math for people who are east coast.

dry lily
#

i mean no helper has reacted to my post since 3 days

unkempt torrent
dry lily
#

can you tell me how i could find out the answer?

#

or is a helper the only way?

unkempt torrent
#

Please stick to your post and dont use this one to get help or getting attention. A helper is not the only one who helps here as you can see in your threads.

spiral yew
#

Just wanted to say nice

mossy tide
#

I keep getting an urge to make a discussion thread just with the title, "What can't denizen do?" Everytime I manage to finish a milestone on my coding project or when I find the exact weird tag I need to input.

unkempt torrent
#

runjava

sinful spindle
#

I'm sure you could manage to run java with webget somehow lol

unkempt torrent
#

true

#

send a request on your backend server

grim quail
#

You're right, let's use webget to pull denizen scripts and hot load them and then delete them when no longer necessary. Why? Because we can.

graceful laurel
#

time to make denizenยฒ

dawn flower
#

Reminds me of that guy that made a computer in mc to play mc

mossy tide
#

You can do multi line inputs in just the ingame chat for just using the /ex command right?

sinful spindle
#

right

grim quail
#

It's been a while, so I forget how you do that.

mossy tide
#

Hence the question which I realize now is not really a question.

sinful spindle
#

perhaps you should put a question in the question place if that was meant as one

#

note: this is not the question place

mossy tide
#

My only concern is opening too many quickly answered posts. I'm self conscious man

low radish
#

making new posts is only a problem if what you posted is identical to what somebody else already asked & got an answer for

#

which is the whole point of the forum system, to have a long term catalog of past questions & answers

#

if your question has never been asked before, then it's actively helpful to make a post, as that adds to the catalog for future users to find

foggy ember
dawn flower
mossy tide
#

I wanted to share my new model, it's my dungeon core. You go up to it and smash it to "clear" the dungeon and remove the protections which will allow you to break any blocks.

grim quail
#

Fascinating.

#

I thought about that.

grim quail
mossy tide
# grim quail Say, is there a tutorial you followed at all for this? I'd be interested in maki...

Haha, all on my own. I'll be happy to share any of my BB models if you'd like. But to give context of this one above, I originally just made it as one single model then got the idea to have it spin so I separated it into two models and have it spawn as item displays of course. Then I just had the center model spinnnn. I have no idea what I'm doing when it comes to art so I'm just winging it!

#

The glowy particles coming off is actually just two end rods. Delta Time event particles scare me for lag reasons.

mossy tide
#

Someone send help, I've been coding with Denizen in my dreams. I barely feel like I'm getting sleep as my brain stays active.

graceful laurel
#

/ex adjust <human[Talfein]> denizen_dreams:false

mossy tide
#

Oh man it was so bad I was having some kind of existential nightmare that for some reason everything in the world was built from tags and I could read it.

mossy tide
#

Who here is a fan of the 2006 Game of the Year winner?

grim quail
#

I never even thought about making an extended item just for that.

mossy tide
#

I originally was gunna import textures right from the game, but that got squished... Then realized I can just make a model myself with BB

rustic drift
#

cape i made for someone with simple Denizen particles

grim quail
#

You say particles, but that cape looks like shaders or a client mod.

mossy tide
#

It's actually a model with a display offset in their offhand, neat

graceful laurel
#

love it

mossy tide
#

Guess who just spent 3+ hours learning how to make custom GUIs using fonts and extremely sub-par art skills?

rigid idolBOT
mossy tide
#

cool

mossy tide
#

man it was so painful to do as I am so bad at art, I took an image from an Oblivion mod to use as essentially a stencil

#

I still don't know why it went black and white when I imported it

grim quail
#

That

#

Is interesting.

rustic drift
mossy tide
#

Guess who went right back at messing with sprites and fonts

spiral yew
#

lord help me im about to sin

dim yarrow
mossy tide
#

What

spiral yew
#

What were the log commands again

#

./denizen debug -r

nvm

unkempt torrent
#

!dbug

#

!debugf

#

!debug

weary mothBOT
# unkempt torrent !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

unkempt torrent
#

.-.

grim quail
spiral yew
#

why use many letters when few letters do trick

wild cosmos
#

d๐Ÿ›

spiral yew
#

i need to rebind something for it to be less buttons but im here for it

mossy tide
spiral yew
#

it do be looking like an xray or ct scan

#

bro swallowed the lock UI from oblivion

#

all me scripts are broken

#

sad day

#

probably related to all the new changes but not sure aha

old venture
#

im so rusty on denizen that i just caught myself putting text in double quotes and commenting with //

primal sonnet
#

!mohist

weary mothBOT
# primal sonnet !mohist
Info: mohist

Our plugins (Citizens, Sentinel, and Denizen) officially support both Spigot and Paper.
Any other forks of the Bukkit project are not supported, but may or may not work in practice.

  • Lower forks, like CraftBukkit, do not function. You must upgrade to a higher fork (Spigot or Paper).

  • Hard forks and cross-forks, like Cauldron/Magma/Mohist/Any other Forge-integration fork, or Cardboard/any other Fabric-integration fork, will not work. Some unofficial custom builds of Citizens are made to support these servers, but we cannot provide any support for them here.

  • Higher forks above Spigot/Paper, such as Purpur, Airplane, etc. are compatible with Citizens only as much as they are compatible with Spigot/Paper. They are generally expected to work in most cases, but we cannot make any guarantees. We will still offer support to users running such forks, but be aware that if you encounter bugs while running such a fork, we may ask you to replicate them on Spigot/Paper to confirm they aren't caused by changes the fork made.

primal sonnet
#

This will never be a thing? Does it need a certain amount of people to be interested in a Mohist Denizen?

mossy tide
#

Hey you're likely more than welcome to do it yourself, but it's too much work to maintain support for an entire loaders like Forge or Fabric when the entirety of the plugins here are coded for supporting Bukkit style loaders. As it says on there, it'll be unofficial eitherway. From what I see here, this whole project is volunteer work, so there's that.

old venture
#

is there a custom model to mob code in denizen?

grim quail
#

What?

#

Do you mean using custom models to be mobs? This sounds like a...

#

!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
#

Alternatively, someone may have asked this.

errant cairn
#

can someone give me the link for a depenizen version for 1.21

weary mothBOT
# grim quail !rule 9
Rule 9

Please observe channel-specific rules and limits where applicable. https://denizenscript.com/discord_rules#rule9
Refer to pinned messages in each relevant channel. Use #bot-spam when you want to interact with the Discord bots (except when you need a human's help with it).

grim quail
#

!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!

patent matrix
#

Denizen (Denizen-1.3.1-b7085-DEV) error on latest version of purpur 1.21 (build 2329)

fossil steepleBOT
weary mothBOT
# wild cosmos !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!

patent matrix
opal mirage
#

does anyone have a working build for 1.21.1?

grim quail
shrewd estuary
shrewd estuary
#

We are too trigger happy to immediately make people feel dumb for asking something in this channel.

grim quail
shrewd estuary
#

in accordance with the rules, vanze is perfectly fine to ask that question here.

grim quail
#

Eh, a helper will tell if either us are wrong.

shrewd estuary
shrewd estuary
#

what do you mean

#

i've got to go stop WW3 rq. I'll be back in a couple of hours if all goes well.

wild cosmos
opal mirage
#

dawg ๐Ÿ’€

dawn flower
#

It's amazing that you want to help but try doing it in accordance to the system that is set up here

shrewd estuary
#

don't ping me

dawn flower
#

Sorry, my phone is cursed D:

pseudo jewel
#

Must have a valid (HTTP/HTTPS) URL any solution?

wild cosmos
#

??

spiral yew
#

Do any of you use denizen alone to control your chat colors/groups?

#

I am curious because I'm trying out LPC and i might have more success with what I want if I were to implement it instead myself using denizen.

grim quail
#

We rolled over this in #actives-only I believe.

spiral yew
#

Yeah it was a cool idea.

#

I was curious if others have tried it haha

#

Maybe you're crazy! You're the odd one out!

grim quail
#

My entire procedure is around 182 lines, but that's including it's data scripts inside.

spiral yew
#

What are data scripts?

grim quail
#

Data script containers, you can put them inside of other scripts if necessary.

spiral yew
#

I haven't messed with denizen much outside of world scripts, item scripts, and I think I did a few "function" scripts that you can call from anywhere.

grim quail
#

!l data script container

weary mothBOT
# grim quail !l data script container

Data script containers are generic script containers for information that will be referenced by other scripts.

No part of a 'data' script container is ever run as commands.

There are no required keys.

Generally, data is read using the !tag ScriptTag.data_key tag.


data_script_name:

    type: data

    # Your data here
    some_key: some value
    some_list_key:
    - some list value
    some_map_key:
        some_subkey: some value


Group

Script Container System

grim quail
#

They're static containers, think of em as configs.

spiral yew
#

Ah I see

grim quail
#

While you can call them externally, some of them can be in the script itself.

my_script:
  type: task
  data:
    my_data: <&e>It's a message.
  script:
    - narrate <script.parsed_key[data.my_data]>
#

Etc.

spiral yew
#

Makes sense.

grim quail
#

I needed the data scripts inside of my procedure because of information such as colors, resource pack chat font, titles and prefixes.

spiral yew
#

I was thinking of adding a title system

#

like you can earn titles and click through them

#

instead of having group names

#

you'd still have groups but like it wouldn't be what shows up in that box that usually shows your rank or whatever.

spiral yew
#

neat for sure

grim quail
#

I let users choose what ranks to display.

spiral yew
#

Oh wait that's interesting you can customize the inventory screens like that?

#

What even is that kind of display?

#

It looks like your normal player inventory but with a backpack or something from a mod

#

I know it's vanilla of course

grim quail
#

!l inventory script container

weary mothBOT
# grim quail !l inventory script container

Inventory script containers are an easy way to pre-define custom inventories for use within scripts.
Inventory scripts work with the InventoryTag object, and can be fetched with the Object Fetcher by using the
InventoryTag constructor InventoryTag_script_name.

Example: - inventory open d:MyInventoryScript

The following is the format for the container.

The 'inventory:' key is required, other keys vary based on the type.
Some types will require you define either 'size:' or 'slots:' (or both).
'Procedural items:' and 'definitions:' are optional, and should only be defined if needed.


# The name of the script is the same name that you can use to construct a new
# InventoryTag based on this inventory script. For example, an inventory script named 'Super_Cool_Inventory'
# can be referr

...

Group

Script Container System

spiral yew
#

I'll have to look into it all again, it's been a while haha ๐Ÿ˜…

spiral yew
#

Is there a location for known bugs?

rustic drift
spiral yew
#

Thanks

fleet kernel
#

i use teams to sort then on the tablisy

old venture
#

lpc? luckperms?

#

if so then that's one of the three plugins that shouldn't be made with denizen

#

in no particular order, they are, in my opinion:

  • CoreProtect
  • LuckPerms
  • WorldEdit
grim quail
#

LPC is a chat plugin.

old venture
#

ah i see

#

then yeah go for it, denizen all the way

grim quail
#

Generally, yeah don't replace WorldEdit.

#

You can but it's better not to reinvent the wheel.

old venture
#

yeah like if you have a super specific idea that cannot be done in the plugin, for sure add it with denizen, but you definitely do not need to go all the way to completely rewrite these plugins

unkempt torrent
#

Why not

old venture
graceful laurel
grim quail
#

@mossy tide Regarding your script, you could easily <&sp.repeat[43]> or however long that space length is.

#

Instead of hard defining it.

#

!t elementtag.repeat

weary mothBOT
# grim quail !t elementtag.repeat

Returns a copy of the element, repeated the specified number of times.
For example, "hello" .repeat[3] returns "hellohellohello"
An input value or zero or a negative number will result in an empty element.

Group

element manipulation

Returns

ElementTag

mossy tide
#

Ah so that's how they suggested how to do it. Someone just told me "just repeat it" and I didn't remember to look it up

grim quail
#

Fair enough.

#

!t &sp

weary mothBOT
grim quail
#

I use it for my borders too.

mossy tide
#

Didn't know if they meant - repeat <number> or what

grim quail
#

I mean, originally I did that for the first concept of borders and then I was told of that tag.

#

How are you going to handle actual dialogue? Like, a few sentences being put out.

#

Because I'd imagine you want to have it wait a bit between sentences.

mossy tide
#

Yeah....

grim quail
#

Oof.

mossy tide
#

I'm sure I can turn my dialog: key into a list tag and it'll narrate that

#

Ah you mean waits

#

eh we'll see what my new leader wants me to do

grim quail
#

Yeah, it may or may not be necessary. I did it for mine but mines still kind of uh..

#

Missing is the validity script, which just checks if the player is even online anymore and will kill the script if the player isn't there.

#

Because validation is important.

mossy tide
#

Yeah I probably will need to revamp the script later when we have more activity and need more advanced quests or npcs

#

I just figured, start simple

grim quail
#

That's fair.

#

I'll eventually figure out a way to make the entry dialogue dynamic, because I want there to be a list of options, and then sub options of quests if a staff member assigns the npc multiple quests. So that's gonna be interesting to figure out how to do.