#Open Denizen Discussion Thread

1 messages · Page 2 of 1

tender locust
#

some plugins not designed for 1.19 have broken commands that dont sync to client but work perfectly in console

#

wondering if denizen executing the command as the player would work; in which case i could simply override it with a denizen one with the same perms & tab completions

old venture
#

!tias i guess

#

!tias

weary mothBOT
# old venture !tias
Info: tias

Try it and see!

If somebody pulled this up for you, you're probably asking a question of the public channel that's easier and faster to figure out by just attempting your idea in-game and looking at the result of that attempt.

tender locust
#

ye i might just

#

trying to fix it up in intellij but its just such a mess to fix im thinking it might be easier to just not

#

lmao

tender locust
#

it works

#

👍 official greatest way to fix

#

even better; it works if you do it then remove it to register the command for it

foggy ember
tender locust
#

i already fixed it up

#

its not broken cmd registering just changed so custom ways of doing it dont function on client if its registered dynamically

#

denizen uses fixed way so can actually be used to sync the broken plugin

foggy ember
#

If you mean that ^, that's not really a fix - more of a workaround

tender locust
#

its not

#

i forked it

foggy ember
#

Ah I see

tender locust
#

we all good

mossy egret
#

@old venture why dont you just do <n.repeat[15]>

#

(your dCommands resource)

#

also you can just use .not instead

old venture
#

oh didnt know .not was a thing

#

imma update the script ehen i get home

mossy egret
#

its the same as !<tag>

#

(also remember to add a fallback)

old venture
#

aye aye captain

foggy ember
#

You could open a review thread, your script will be reviewed and after you've fixed everything it can receive the verified high quality tag/title

mossy egret
#

oo

#

also

#

ive been thinking about user-documentation for scripts in the vscode extension

#

similar to java's javadocs or javascript's jsdocs

unkempt torrent
foggy ember
#

Great minds think alike

old venture
#

oh wait, when reviewed, i will get like "you should do xyz"? i thought it was just a "nah not high quality sorry"

foggy ember
#

But yeah, it's nice both for the person writing the script (as they'll learn from it, hopefully), and for the resources section (as it's another high-quality script for people to learn from/use)

mossy egret
#

once i get more experienced w denizen i will start posting resources as well

#

although i might post ticktabs

old venture
#

0tick youre one of the most experienced users around here, just start posting resources already xD

mossy egret
#

im actually relatively new here

foggy ember
old venture
#

and do i create a post on the forum for that, or another place?

#

imma do it

foggy ember
#

This forum

mossy egret
foggy ember
#

Ofc, it's open source & on GitHub as well

#

Acikek contributed to it once iirc

mossy egret
#

yeah imagine you could document your scripts

#

and then they would appear when you hover over them

foggy ember
#

Something like that is planned I think

#

Or full workspace scanning is planned, at least

mossy egret
#

but this also means that it will have to scan the entire denizen/scripts directory, detect the usage themselves (run/runlater/inject for task, proc tag for procedure), etc

foggy ember
mossy egret
#

ah ok

#

i feel like that would be easier to make if denizen used imports/exports like other languages

#

but thats not going to happen

old venture
#

review post opened ayyy

old venture
mossy egret
#

its a method of documentation

#

in languages like javascript, theres tools like jsdoc, which allows you to put something like this as comment

#

and then when you hover over the function or any references to it, it generates the documentation

low radish
#

particularly like, new users making very complicated scripts

#

but if you've mostly got an idea what you're doing and are most of the way there, a proper review can happen

#

it usually ends up being me that has to do the in-depth reviews historically and it takes like an hour to do properly for a decent-sized script so idk if i can personally be bothered

#

but theoretically if you open a thread, any experienced user can speak up and get it at least most of the way and i can just do the final check and badge-granty bit

old venture
#

yea, 0tick has given lots of inputs

#

i'll fix em once i get home

mossy egret
#

i can only give the most basic stuff

foggy gorge
foggy gorge
#

forgot i could just use paint and the color picker, i found #03EEB6 and made that my todo comment color now lol

#

looks a lot less like an error now, i like it

#

yours still looks so much more vibrant tho

limber berry
#

ah yes, thx for the reminder to change my TODO color

rigid idolBOT
limber berry
#

yay

raven barnBOT
#

+> YAY!!!

severe hornet
#

am I misremembering or was there once a command to let you manually trigger a server event for debug purposes (other than customevent)

#

good news I am not misremembering, but it seems it died an unfortunate death #denizen-pre-forum message

#

oh boy it was removed a year ago #changelog message

tender locust
#

5s+1t equivalent?

#

function not running cus flag removed on same tick

#

eh nvm just made the fn remove it cus it makes more sense when u think abt it

old venture
#

so u do the math there

tender locust
#

it works with decimals?

old venture
#

i actually found out some days ago that you can use things like 0.1t

tender locust
#

figured it was integer or smth

old venture
tender locust
#

time

tender locust
#

per this yeah it does

old venture
#

thats duration tho, idk about time in itself

tender locust
#

assumed it worked as either integer * unit; or like ability to specify multiple like 3d6h

old venture
#

oo

#
  • new absolute hack of a mech, EntityTag.alter_uuid lets you change an entity's UUID to whatever you want. Will break things, obviously.
    when will we get playertag.alter_uuid
foggy gorge
#

a playertag is a valid entitytag kekw_dog

#

and when i played with it, i had crazy results because i didnt know what i was doing lol

old venture
#

what type of crazy results? 👀

foggy gorge
#

like i was canceling the player walks event and i couldn't type without being kicked

steep wind
#

Any good use case scenarios for alter_uuid? lol

severe hornet
fossil steepleBOT
#
Warning Recorded

Warning from @severe hornet to @spice siren recorded.
Reason: "Rule 2/5 violation"
User has 4 previous warnings.

old venture
#

😦

#

im getting warned for every gif i post, well, time to stop posting gifs

foggy gorge
#

i mean, you did post a literal troll face lol

severe hornet
#

you posted troll face dot gif and a redundant question and you expected a different outcome?

old venture
#

in my language thats called "joking"

severe hornet
#

do we know whether it's possible to detect clicks in the advancement menu? I want to build a skill tree and have it be fancier than just inventory guis

severe hornet
weary mothBOT
severe hornet
#

click link read rule

old venture
#

gonna read it

severe hornet
#

see also rule 2

severe hornet
old venture
rough lark
severe hornet
#

it would be really cool if we could emulate advancement menu tech

#

that said the interface is clunky even for advancements, you can't just click and drag around, it's locked to the edges more than it needs to be

steep wind
#

Interesting

severe hornet
#

time to build Yet Another GUI I suppose

foggy gorge
#

interestingly, we can see when players open the achievements menu actually
Packet: net.minecraft.network.protocol.game.PacketPlayInAdvancements sent from _Behr__ and
Packet: net.minecraft.network.protocol.game.PacketPlayOutTabComplete sent to _Behr__ both are packets sent when open/closing the achievements menu;
clicking inside the achievements menu does nothing unless you're clicking these tabs:

foggy gorge
quartz wraith
old venture
quartz wraith
lament verge
fleet kernel
foggy gorge
#

so i have an incredibly customizable chat script that also modifies everything down to system messages being sent to players - i have a special formatting for /denizen debug/submit commands too:

#

but i noticed of the messages i ever have to deal with:

debug_messages:
  - Denizen debugger is now recording. Use /denizen submit to finish.
  - Denizen debugger recording disabled.
  - Use /denizen debug -r  to record debug information to be submitted
  - Submitting...
  - Error while submitting.
  - Submit failed<&co> not recording.
  - Denizen debugger is now<&co> ENABLED.
  - Denizen debugger is now<&co> DISABLED.
#

Use /denizen debug -r to record debug information to be submitted doesn't have a period kekw_dog

short pier
#

wait... are those debug messages referenced by... index?

foggy gorge
#

i check if
- else if <[raw_message].strip_color> in <script.parsed_key[data.debug_messages]> || "<[raw_message].strip_color.starts_with[Successfully submitted to https]>":

#

and then re-format the message pointed in a choose/case

short pier
#

no i mean like

#

that debug_messages is a list

foggy gorge
#

yeah

short pier
#

how are you retrieving from that list

foggy gorge
#

?

short pier
#

are you just hardcoding those index numbers?

foggy gorge
#

yeah, cause i check if the message a player receives is that raw text after it's color is stripped

short pier
#

Ohhhhhhhh

#

i thought it was something much worse

foggy gorge
#

i check if <[raw_message].strip_color> in <script.parsed_key[data.debug_messages]>
and if it's "Denizen debugger is now recording. Use /denizen submit to finish." for example, it runs this:

- case "Denizen debugger is now recording. Use /denizen submit to finish.":
  - define text "<&color[#ffb84d]><&lb><&e>Denizen Debug<&color[#ffb84d]><&rb> <&[green]>recording started"
  - define hover "<&[green]>Click to submit"
  - define message <[text].on_hover[<[hover]>].on_click[/denizen submit]>
short pier
#

i was about to be so concerned

foggy gorge
#

kekw_dog what did you think it was?

short pier
#

i thought those were the messages you wanted to output with
and instead of making it a map you were just memorizing the indices of the list you used in the rest of the script

foggy gorge
#

oooo nah

#

i do want to make a ton of it all static eventually but not anytime soon

short pier
#

i have done that before

short pier
quartz wraith
short pier
#

most screens on client are opened 2 or 3 times at once

tender locust
#

can't determine a potion splash?

quartz wraith
tender locust
#

was y/n so assuming thats yes but sure

foggy gorge
#

answer is yes

quartz wraith
# tender locust was y/n so assuming thats yes but sure

While it was, #1038164579827597353 shows that it required a bit more context to be answered. Also, your original question appeared to be “potion splash determination isn’t working” more so than y/n (at least to me, but this is typically how people ask why something isn’t working).

quartz wraith
foggy gorge
quartz wraith
foggy gorge
#

me too, it's honestly saved me tons of press enter, press up key until i find what i want to parse again

low radish
tender locust
#

MapTag intersect name? keep only ones in both maptags? not asking for explanation just what its called; i see include/exclude but no intersect - if it doesnt exist ill just figure it out also (like i already see i can use filter_tag with the other maptag.keys.contains)) - ok i looked through all maptag ones and dont see it as an option so rip filter it is

#

second one word answer question; is MapTag.get "safe" if the key doesn't exist, as in if MapTag.get[thing] >= 5: (meaning it returns false if MapTag.get[thing] does not exist)

foggy ember
tender locust
#

its a y/n question that i was explicitly told is ok to ask here and fits the pinned rules, im not asking for context/fixes and dont want them

low radish
#

you're asking for help writing a script

#

don't try to rules-lawyer around it

foggy ember
#

^ This post is specifically not for scripting help, and creating a new post has no downsides, just benefits - people can easily find it in the future and learn from it, it'd already be in it's own separate place if the discussion becomes longer (which it does most of the time), etc.

low radish
#

it takes no more effort to make a post than it does to write a message in this thread

tender locust
#

kinda does cus then i get spammed with "please post entire debug log" for a one word answer

low radish
#

If the appropriate response to your question is to request a debug log, that's the same regardless of where you post it

tender locust
#

not askin for script help im literally asking if maptag.get null comparison is false or fails

low radish
#

You asked two things

#

for the record ok i looked through all maptag ones and dont see it as an option so rip filter it is is an incorrect self-answer

#

I'm not going to tell you the correct answer until you ask in the form of a post

#

(Because this is not an appropriate channel for answering support questions)

tender locust
low radish
#

@fossil steeple warn @tender locust serious rule 10 / intentionally disrupting the normal flow of support posts

fossil steepleBOT
#
Warning Recorded

Warning from @low radish to @tender locust recorded.
Reason: "rule 10 / intentionally disrupting the normal flow of support posts"

low radish
#

rules 10 and 9, I should say

old venture
foggy gorge
#

the way the channel buttons work was totally ice’s idea

old venture
#

how do you even remove the message? do you just... resend the whole chat without the deleted message?

soft pewter
digital hamlet
#

Hey guys I have a concept im wondering if it's possible

The first 3 slots of the players inventory are 'locked' and only accept items with certain custom model data

so slot 1 is for rings etc, I make 10 rings with custom model data, and slot 1 only accepts those items
slot 2 is necklace etc,

Can denizen do this or should i go custom plugin?

tender locust
#

flag them (instead of relying on model data)

#

and then it should be possible to only allow those to be put there

digital hamlet
#

What do you mean by flag them? 🙂

#

model data wont change so i dont see the issue with that idk

tender locust
#

flag as ring, or necklace or whatever

#

on someone trying to move something in inventory check slot and flag

#

do stuff accordingly

#

ig

digital hamlet
#

Nice!

#

So im new to the plugin just kinda learning

soft pewter
#

@digital hamlet you should make a post if you plan on using denizen so we can help

#

Also

#

!guide

weary mothBOT
digital hamlet
#

Oh sweet 😄

soft pewter
#

You can start there :)

digital hamlet
#

Um just a new thread?

old venture
digital hamlet
#

Oki pokey

old venture
soft pewter
#

Forum posts are for help, so if you need help with anything or you are stuck on something Denizen related feel free to open a post on #1026104994149171200

digital hamlet
#

There we go 🙂 thanks guys

low radish
soft pewter
#

Cant wait :)

unkempt torrent
#

Yes that's possible, make a post if you want to know how.

#

Oh, I haven't scrolled down kekwcry

gaunt marsh
#

Trying to modify a player head on the ground to have a texture, it works with <player.uuid and player.skull_skin. But how do I put a uuid off minecraft-heads.com for example in there

- adjust <[location]> skull_skin:6f5f703a-d72e-4e60-b230-27494426bcda
This doesn't work

foggy ember
ebon eagle
#

Out of curiosity is there a tag to get all the members inside a noted area? I'm trying to teleport everyone in that noted area.

tender locust
#

is there any guideline/process i need to follow for PR to depenizen

#

like do i have to make an issue and shit like some people insist on

tender locust
#

^ adding onto that i'm assuming its a big no-no to change an established part if it's not necessary

#

mainly want to fix up the towny stuff and the events there are just weirdly named/written

#

"towny player claims plot" should be "towny <town> claims plot"; for example (being /t claim) and "towny <player> claims plot" should be different (/plot claim)

#

im assuming i should instead just leave that first one as-is and make the second one "resident" or something like that

acoustic socket
#

Is there a way to manually cancel an event given its reflected object tag?

#

Or ideally a way to change the event tied to the script?

#

For reference i am using the internal bukkit event for plugin interop

#

The script fires on a custom event and passes an event ID of another event

old venture
#

!vague

weary mothBOT
# old venture !vague
Info: vague

Your question is too vague to be able to answer well.

If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.

For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.

See also !xyproblem

acoustic socket
#

I use discord to avoid forums I hate that they added them 😩 threads were enough

old venture
#

trust me, way better than flooding one channel

#

if we flooded a single channel with all types of questions and support, things would be unbearable

mossy egret
#

yeah

#

POV: spending half your life scrolling up to view buried questions

rough lark
# foggy gorge

have you shared this script anywhere? would love to make use of pieces of this sort of system

#

i've wanted to do something similar but have been worried about dumping a huge chunk of chat into people's windows on every message

foggy gorge
#

i think actually a snippet of one of your own scripts helped me realize it, too lol

rough lark
#

nice haha, yeah we have a pretty interesting chat system ive been wanting to further improve with tabs along the bottom and removable messages

foggy gorge
#

a huge problem i made if you end up taking a look at it before i can share a link is that i do way too much processing in the receives message event

#

and in general but i planned on consolidating it later anyways

rough lark
#

i assume you are uh, flagging each player with their chat history?

#

and dumping it on every message received

foggy gorge
#

ope, ping sorry

rough lark
#

how come o-O

foggy gorge
#

i figured if five people had chat history flags, it’d be mostly all the same data just spread out as opposed to saving it once and when a player dismisses it, i add their name to a key in the message’s map

#

if bob had joe muted, bob’s chat won’t even update if joe talks

rough lark
#

5 people could have totally different chat histories, is the data all stored separately still?

foggy gorge
#

oooh that’s what you meant, uh

#

i store every message in a map:

chat:
  <[time].epoch_millis>:
    channel: the channel they sent a message in
    message: the actual message
    player_uuid: <player.uuid>```
these are the main keys, and if a player mutes someone with the built-in player interaction menu they just won’t see their message when i use `- narrate … from:<[player_uuid]>`
and if they dismiss the message, i add a key like `dismissed: <list of players>` and filter them from the recipient
#

monkey’s comment on 1.19.3 makes me think this entire thing will explode given potentially being able to edit messages in chat though

rough lark
#

interesting, i see

reef wharf
candid kraken
#

I am going insane

#
    type: world
    events:
         on player left clicks block:
            - modifyblock <context.location> <context.location.material>```
#
        Error Message: Invalid context ID 'location'! 
00:11:02 Additional Error Info: Tag-base 'context' returned null. 
00:11:02 Additional Error Info: Tag <context.location> is invalid! 
00:11:02 Additional Error Info: Unfilled or unrecognized sub-tag(s) 'context.location' for tag <context.location>! 
00:11:02 Additional Error Info: Invalid context ID 'location'! 
00:11:02 Additional Error Info: Tag-base 'context' returned null. 
00:11:02 Additional Error Info: Tag <context.location.material> is invalid! 
00:11:02 Additional Error Info: Unfilled or unrecognized sub-tag(s) 'context.location.material' for tag <context.location.material>! 
00:11:02 Additional Error Info: 'context.location.material' is an unknown argument! This was probably caused by a tag not parsing properly. 
00:11:02 Additional Error Info: Woah! Invalid arguments were specified!
        Missing material argument! 
00:11:02 +> [CommandExecutor] Usage: modifyblock [<location>|.../<ellipsoid>/<cuboid>] [<material>|...] (no_physics/naturally:<tool>) (delayed) (<script>) (<percent chance>|...) (source:<player>) (max_delay_ms:<#>) 
00:11:02 +> [CommandExecutor] (Attempted: MODIFYBLOCK <context.location> <context.location.material>) 
00:11:02 +---------------------+ ```
#

!e player left clicks block

weary mothBOT
# candid kraken !e player left clicks block
Group

Player

**WARNING**

this event may in some cases double-fire, requiring usage of the 'ratelimit' command (like 'ratelimit <player> 1t') to prevent doubling actions.

Event Lines

player (right|left) clicks <block>

Switches

with:<item> to only process the event if a specified item was held.
using:hand/off_hand/either_hand to only process the event if the specified hand was used to click.
type:<material> to only run if the block clicked matches the material input.

Triggers

when a player clicks on a block or in the air.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.item> returns the ItemTag the player is clicking with.
<context.location> returns the LocationTag the player is clicking on.
<context.relative> returns a LocationTag of the air block in front of the clicked block.
<context.click_type> returns an ElementTag of the Spigot API click type <@link url https://hub.spi...
<context.hand> returns an ElementTag of the used hand.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

candid kraken
#

HOW

#

why

#

how can I accomplish what im trying to do

#

im just trying to add multiselect to my fakeblock script

soft pewter
#

you should make a post for this

candid kraken
#

oh

#

yeah

low radish
reef wharf
#

neat

simple comet
#

Any tips for chat text alignment?
It's easy with fields with equivalent name lengths, but tough for fields of varying names.

foggy gorge
#

the problem with that without a resource pack though:

frozen brookBOT
foggy gorge
#

a space is four pixels large

#

so if you wanted to make a line first with 10 pixels long and the next has 11, you couldn't just pad to 14 or 15 width without a single pixel length space or three

#

if you wanted to try scripting it though you'd want your own post cause i could go on and on with that lol

simple comet
#

Makes sense to me. Thanks for the detailed response.

severe hornet
#

don't forget you can use negative spacing lol

simple comet
#

Negative spacing?

severe hornet
#

yes

#

negative spacing

#

google it 🙂

#

make a thread if you want support 🙂

lament verge
#

this is for the resource pack side of the game

acoustic socket
#

Is there a way to unzip a file?

#

<BinaryTag.gzip_decompress> ?

old venture
#

install 7zip or winrar

#

ooh

#

i see what you meant

#

lmao

acoustic socket
#

😂

#

Would like to be able to download a zip then decompress rather than download a ton of files recursively

#

The idea is to download a zip then decompress and read the contents

severe hornet
#

that might be beyond the scope of denizen

quartz wraith
#

should I make a python program to take a neatly ordered folder of scripts and turn it into one giant freakishly long file? I want to be able to quickly update my shit from local to my host without having to copy over like a whole folder onto the website

#

for example:
I have a repo with 20 script files, it is very inconvenient to upload all 20 to the host in order to update, so why not just convert it into one mega file?

mossy egret
#

Why don’t you use something like vscode sftp extension

unkempt torrent
#

Login to your server and pull from your repo

soft pewter
#

But pulling from git like ice recommends is probably better

quartz wraith
#

how do ✨I do that✨?

unkempt torrent
#

clone the repo via git

#

and when you do changes and want to update it git pull

low radish
#

also yeah git is the way to go

devout wraith
#

how do I text underneath the NPC name?

old venture
#

!channels

weary mothBOT
# old venture !channels
Info: channels

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.

devout wraith
#

huh

old venture
#

this is for discussion, not support xD

#

ik the feeling

devout wraith
#

were is support?

sinful spindle
#

citizens support is in #1027028179908558918

foggy ember
#

Are you trying to set that with Denizen?

sinful spindle
#

you can make a post there

foggy ember
#

Otherwise ^ yeah

devout wraith
foggy ember
#

Well, you asked in the #1026104994149171200 channel, if you're using Citizens should make a post in #1027028179908558918

devout wraith
#

ahh okay thanks

#

Is it worth installing denizen just to hide this? Above a NPC.

foggy gorge
#

hide wut

#

it looks like the screenshot is literally a wall lol

foggy ember
#

I think they meant hiding the NPC's name? if so that can be done with Citizens

#

And should ask in #1027028179908558918 ^

quartz wraith
#

What latest Java version is supported?

#

nvm it's JDK 17

quartz wraith
quartz wraith
#

figured it out

#

(cd /pro/minecraft-1/plugins/Denizen/scripts/tomo/; git pull; cd)

#

ran that with my provider's scheduler

short pier
#

dzp-rs is a downgrade in a lot of ways except speed unfortunately, but since only I really use it that's okay

#

I want to turn it into something useful though

#

dzp compileis not really for the purpose you described though. it's for compiling large projects for the forums and such

#

The actual uploading/pulling should absolutely be git

#

for those who have used project/package managers, what tools do you think should be in dzp? like I said, I want to make it a usable and useful tool

quartz wraith
#
    type: world
    events:
        on player breaks stone_slab:
        - determine <item[cobblestone]> if:<context.should_drop_items>```

For anyone using terralith, this is a lifesaver ^^^
unkempt torrent
#

!guide common mistakes - don't overuse

weary mothBOT
unkempt torrent
#

!e don't overuse constructor tags

weary mothBOT
#
Possible Confusion

Did you mean to search for player walks over location?

unkempt torrent
#

I hate my life

#

!guide don't overuse constructor tags

unkempt torrent
#

thar

old venture
#

is there anything kinda like definemap but for flags?

sinful spindle
#

you can definemap a map together and then use that in a flag?

old venture
#

nana not like that, something kinda like this:

- flagmap object flag:
  key: value
  key2: value2

then you could get values with flag.key

sinful spindle
#

yes just define map that, and then use the flag to apply it

old venture
#

mmm

sinful spindle
#
- definemap flag:
    key: value
    key2: value2
- flag object <[flag]>

or whatever

old venture
#

ooohhhh

#

oh yeah i didnt think of that

#

great to know

quartz wraith
#

What tag is it to round money? For example, I'm using round_to_precision[0.05], however sometimes that returns something like 3.3 instead of 3.30. Basically, I want it to always have 2 decimal places regardless of the hundredths place value.

unkempt torrent
#

!makepost @quartz wraith

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

quartz wraith
#

fack

soft pewter
unkempt torrent
#

yeeee

acoustic socket
#

Why can i not read from an sql server in a procedure script

#

I wouldn't classify reading from an sql database an external change

old venture
#

just read it before and add to the context

acoustic socket
#

Hmm?

#

I'm trying to have all sql queries done in procedure script to simplify calling them

old venture
#

oh, mb i misunderstood

acoustic socket
#

The idea is rather than having to repeat the logic for sql queries a bunch its all in a tag that can be called much simpler

#

How do i disable the enforcement on procedure scripts?

#

so i can use sql in it?

#

i do not see a config option

old venture
#

i dont think thats even possible, you should def create a post asking for being able to read sql in a proc

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!

acoustic socket
#

sigh Time to figure out how to make a forum post thing

low radish
#

it's really easy, just go to #1026104994149171200 and click the title part, type in "sql in procedures" or something, then in the message box type your initial question, and hit post

#

then you have a thread and can type more messages in it freely

quartz wraith
# weary moth

The response to “But it’s not worth bothering” is a bit condescending I think

acoustic socket
#

You're in the denizen discord "condescending" describes everyone

quartz wraith
#

the devs can be mean sometimes just make them regret not banning you

acoustic socket
#

lol

quartz wraith
#

get your own special red arrow

acoustic socket
#

They'll probably give me one eventually

low radish
#

You're on the internet reading text

#

if it sounds condescending, that's more in your head than in the text

#

if everyone in this Discord sounds condescending to you, that primarily just speaks to your own expectations of the world around you

#

if you make more positive assumptions, you'll have a much better time

acoustic socket
#

Was just trying to be funny mate

old venture
#

i mean you did say condescending described everyone, everyone includes yourself xD

acoustic socket
#

True enough

old venture
#

why don't tradetags accept maps?

#

is this a limitation, or is this a create feature request moment?

#

just created a huge mess to simulate maps in trades lmao

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

old venture
#

writing one rn

low radish
#

there's an easy answer to that, if you make a post

#

yee

lament verge
#

uh, is there something wrong with the CLA Agreement or was it my account that had a problem? it said my email is not a GitHub User but the signing was already done.

Ah it was on my end. local git configurations.

rain ravine
#

I'm assuming this is where i'd ask random (small) questions?
Not used to this discord layout

sinful spindle
#

No, just make yourself a post

foggy ember
#

^

rain ravine
#

okay, thanks

mossy egret
#

Omg hi @rain ravine

rain ravine
#

hello

#

i was going to ask something but it turns out i just solved it 💀

#

the power of trying things yourself prevails once again

mossy egret
#

Yes

tender locust
# foggy ember ^

if its not for small questions about denizen that post literally rules out anything

short pier
#

not particularly

tender locust
#

kind of does tho

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

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
#

These two info cards should help you

low radish
#

Discussions as in, you're not trying to get an answer to something, you're not going to immediately apply the results of the conversation onto a real server, etc. you just want to chat about something

#

An example that comes to mind that happened earlier is talking about the features of the upcoming future minecraft versions and how you might make use of them after it's released

#

Another valid use would be commenting on scripts posted in #showcase

quartz wraith
#

or showing off smaller scripts

low radish
#

or using this thread as your own mini-showcase location, for sceenshots or scripts not worthy of #showcase but worth posting cause you're proud

#

:(

low radish
#

BRUH YOU JUST CONTINUED MY OWN TRAIN OF THOUGHT AND TYPED IT SHORTER TO GET IN BEFORE ME

low radish
quartz wraith
foggy ember
#

Whenever I try helping on mobile someone else comes and types it faster using their superior computer keyboard

quartz wraith
#

like if someone asks “how to flag player” and then replying “flag command”

#

gg ez

quartz wraith
#

they will figure it out

old venture
#

clueless

quartz wraith
#

on the contrary, you can just try to link a guide page 3 times until it works

old venture
#

true, linking guide pages never works

quartz wraith
#

!guide get started

weary mothBOT
#
Possible Confusion

Did you mean to search for a deeper tag: the parsed tag (not yet written)?

quartz wraith
#

lmao

old venture
#

!guide notables

weary mothBOT
#
Possible Confusion

Did you mean to search for npcs?

old venture
#

lmao

low radish
#

via !guide flag or !c flag

quartz wraith
#

!flag

low radish
#

type two words, give the user a thorough explanation of what they need with examples and all

old venture
#

kek

quartz wraith
quartz wraith
low radish
low radish
mossy egret
#

mfw info commands in mythic server is staff only

low radish
#

ew

mossy egret
#

and support is 99% community-driven

#

no joke go to #351864879545843715 and find the last staff msg

quartz wraith
old venture
#

today i learned you can link channels from other servers

mossy egret
#

you could always do that

#

<#idhere>

quartz wraith
old venture
#

lmao

unkempt torrent
quartz wraith
#

didn’t know that was against the rules

old venture
#

permabanned

small hamlet
#

Is there any way to get text directly on top of an inventory's slots? Not including text baked into an image in a texture pack.

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!

acoustic socket
#

Question on UUIDs

#

is it possible to change a player's uuid even temporarily?

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!

acoustic socket
low radish
#

I'm very confused

#

ThreadBot is

#

locking up while trying to add @pastel canyon to threads apparently?

#

and then failing to process future threads because it's stuck trying to add calico

#

why is calico cursed

#

nope calico isn't cursed

#

it's just, whoever ends up 6th in line for adding to a thread

sinful spindle
#

is it an api limitation then?

#

doesn't wanna accept requests after a bunch in quick succession?

low radish
#

It's not giving an error or anything, it's just... failing to process

#

and it's not number of requests either

#

one test gave 5 requests, the most recent did 8

#

(the more recent test renamed the thread and pinned the first message, the other test couldn't find the first message and so skipped those steps)

#

it's limited to 5 users getting added

#

not counting the ones added via ping

quartz wraith
#

this should be a feature

#

autoadd role permission in channel permissions

old venture
#

are the bots written on denizen?

#

the ones in the server

quartz wraith
#

no

#

C# iirc

low radish
#

dTagParser is in Denizen, the rest are C#

#

all are open source if you ping em and ask for a link

#

@frozen brook link

frozen brookBOT
low radish
#

@weary moth link

weary mothBOT
low radish
#

:(

#

@weary moth hello

weary mothBOT
low radish
#

@fossil steeple hello

fossil steepleBOT
low radish
#

@neat pulsar hello

neat pulsarBOT
#
Unknown Command

Unknown command. Consider the help command?

low radish
#

nyah

old venture
#

dang, nice

foggy gorge
#

@timid mortar love me

low radish
#

@rigid idol hello

old venture
#

for some reason i thought all of em were powered through denizen

low radish
foggy gorge
low radish
#

theoretically could be

#

actually no

#

LevelsBot could be, ThreadBot probably could be, MetaBot is only missing a few Denizen features like zip unpacking and it could be but performance would hurt, ModBot couldn't be cause it mucks with Discord API more than dDiscordBot has any reason to include

#

also LevelsBot would be limited to only this Discord if it was in Denizen, vs being public and highly scalable

pastel canyon
#

@low radish hey dont blame me man 😂

foggy gorge
#

let’s blame creeperbot

#

i haven’t heard it sing for us in over a year

#

how else would i know that my heart will go on

low radish
#

if i ever bring it back ill probably give it AI powered tts

#

and AI powered speech rec

foggy gorge
#

oml honestly that’s actually probably the best idea lol

acoustic socket
#
  • CoquiTTS
#

= profit

low radish
#

oo, coquitts is supposedly much faster than tortoise

#

albeit audibly a bit lower quality

acoustic socket
pearl laurel
#

What is a good event for detecting a player clicking on water? "player right clicks/left clicks water" doesn't seem to detect it.

weary mothBOT
# soft pewter !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
lament verge
old venture
#

pay denizen subscription now to get support answers on every channel! only $9.99!

mossy egret
#

Microsoft be like

weary mothBOT
# sinful spindle !bribe
Info: bribe

If you want to support mcmonkey, lead developer of Denizen, you can subscribe via GitHub Sponsors at https://github.com/sponsors/mcmonkey4eva or give a one-time donation via https://denizenscript.com/donate. Sponsors of $3 or more get access to private (sponsors-only) text and voice channels, and a gold_nugget name icon. $10 or more gets that + a gold name.

If you'd like to donate to fullwall, lead developer of Citizens, purchase the plugin on Spigot https://www.spigotmc.org/resources/citizens.13811/ or subscribe to his GitHub sponsor page https://github.com/sponsors/fullwall. You can also directly donate via paypal.

sinful spindle
#

add 1 more cent and you can have a fancy gold name

quartz wraith
#

where in the code is the server_flagged event switch defined? I’m curious about something.

quartz wraith
#

thanks bestie

low radish
#

that's actually not where i expected it to be lol

#

doesn't use the generic _flagged tool

quartz wraith
#

I’m thinking, could it be possible for a “server_flag:my_server_flag=true”

#

an in event line check

low radish
#

possible? technically yes

#

will that be added? ehhhh

quartz wraith
#

I have a bunch of toggles for specific features

#

where you can flag the server true/false in a flag and it can enable/disable something I’ve added

#

so every script has like

#
  • stop if:<server.flag[no_mending].not>
unkempt torrent
#

server flagged switch supports !, monkey just added that

quartz wraith
#

noted

#

!haste

weary mothBOT
unkempt torrent
#

if that topic becomes a script question, you should make a post

quartz wraith
#

likely

#

#changelog I deserve CREDIT for that last one

low radish
#

you didn't request it, i just added it cause you got my eyes looking at the code at all

quartz wraith
#

worth a shot

foggy gorge
#

Contributors: Funky (he/him/stfu)
commits: 1, 1 ++ / 0 --

teal sedge
#

@rough lark are you a mind reader?

I was planning to write up a commission for a scripter focused menu creator instead of having to make the bastards by hand, but didn't want anything more than making the tools and let me handle everything else.

Can I buy you a drink or some other token of eternal gratitude sometime?

Haven't tried it yet but it looks to be similar to how I wanted to approach it before deciding the lazy path, though I'm sure your approach is far less schizo than mine would've been.

rough lark
#

sure! if you end up using it in any significant way, and want to drop me a dono, my paypal is @jehopkins. i've been using it a lot

teal sedge
#

PayPal locked my account for a week because someone ignored me and used it after my card had expired. Unless you have an eth wallet, I'll send you something through after it's fixed.

Will give you some feedback and maybe cool screenshots when I get to using it though, cheers!

rough lark
#

no worries and no rush

#

we've used it to make all these

#

rearranging that first page would've been a huge pain without it ha

#

the bottom 2 pages are saved as templates without the inputs/output. when i load the inventory, i just - inventory set the dynamic items in

#

like so

      - define inv <inventory[blast_furnace_recipe_inv]>
      - inventory set d:<[inv]> o:<server.recipe_items[<[id]>].first> slot:12
      - inventory set d:<[inv]> o:<[item]> slot:24
      - inventory open d:<[inv]>
soft pewter
#

That’s so cool Mergu 😮

teal sedge
#

Here's how I've started my backpack script for some comparisons, including some comments on the why and future plans for them.

I'll grab a video too, even in it's most basic version, they're very cute and my players love them ❤️

old venture
#

ayy lessgo nice!!

teal sedge
fleet kernel
#

the jiggle

old venture
#

thats actually very well done!

teal sedge
#

Thanks king. I'll put together *current version with some tweaks and the resource pack tonight.

I'm really excited to try and get that swap button remapping going. So much potential by having a user adjustable key that fires whatever scripting you want based on the item they equip.

#

Might put that on the priority list, who wouldn't want a button to fus ro dah or turn invisible or whatever

#

I know I would.

teal sedge
#

Alright here's my attempt to implement Mergu's thing with my thing, while not being able to test it.

@rough lark feel free to steal anything that's useful in here though, could easily be reformatted to act use any currency or used for something other than a shop.

Planning on forking a clone that would act as an xp system. So players would 'level up' using 'xp' instead of purchasing with points. In theory it should just be a cosmetic change, it should work for any use case

I'll 100% test this when home and share it again properly as well though.

#

Also, whoever is responsible for enabling color formatting for the VSCode extention, I could kiss you

acoustic socket
#

I could kiss or murder them depends on if it broke that day

teal sedge
#

Oh my God I just saw the !nothome command please don't kill me 🙏

#

Y'all are nuts and I'm so into it

#

Not that mine was a help thread but damn if those pre-written beating sticks don't get me excited

foggy gorge
rough lark
#

Yep! Though I made those inventory overlays myself

#

Tenshi made the items

soft pewter
#

They look great!

#

Both the overlays and the items

acoustic socket
#

Is there something like a "Flag expires" event?

soft pewter
acoustic socket
#

😩 How about a feature request for a "flag expires" event?

acoustic socket
#

I imagine this is a very simple request

#

just firing an event when expiring the flag

soft pewter
#

i don't know the inner workings but iirc this may have been requested a few times in the past. not everything is as simple as it may seem... you could probably make a post about it in #1026104994149171200 with the feature request tag OR make a post about the ways you currently can wait for a flag to expire

acoustic socket
#

Is the bot still broken?

soft pewter
#

i don't know :|

#

i didn't even know it was broken XD

grim quail
#

Thinking if it's better for future scripts I make to use the if argument in a lot of single use cases, or if it's better to create them as two lines.

Ex:

- if <player.has_flag[yep]>:
  - define var true

versus

- define var true if:<player.has_flag[yep]>
fleet kernel
#

i prefer the latter because it looks cleaner

grim quail
#

Yeah I'll prefer it cleaner, usually.

low radish
weary mothBOT
# low radish !xyproblem
Info: xyproblem

Your question seems to be an XY Problem - you're asking about your attempted solution rather than your original problem.
Read in detail about the XY Problem here: http://xyproblem.info/

For an example of an XY Problem we've seen in Denizen, the question "how do I make an event for when a flag expires" has no answer, but the same question asked with full background detail will be something more like "I have this script: [LINK HERE], which sets a 3 minute cooldown flag on a player for when they use an ability. I want the player to be notified when the cooldown completes - how do I do this?" which we can then answer quite effectively (in this example, all that was needed was a simple wait command, no events or flag-listening or anything).

short pier
low radish
#

You should make a thread, but note that your request is literally the example of an XY problem^

acoustic socket
#

I already did 🤷

short pier
#

their expiry doesn't constantly tick down, it's checked when the flag is accessed

acoustic socket
#

Ah that makes sense then

low radish
#

Because you replied here, there's a thread in history without an answer now

#

so somebody who finds it won't find the answer

short pier
#

i'll paste it there

acoustic socket
#

It got an answer

#

No need

low radish
#

@fossil steeple warn @acoustic socket normal consistent habit of intentionally disrupting the proper usage of forum channels

fossil steepleBOT
#
Warning Recorded

Warning from @low radish to @acoustic socket recorded.
Reason: "consistent habit of intentionally disrupting the proper usage of forum channels"

acoustic socket
#

?

#

Thats out of the blue

short pier
#

should i just close it now?

#

nvm

low radish
# acoustic socket Thats out of the blue

You need to
A: Start using forums properly (ie make threads, don't misuse #1027064108056580106 for your questions)
B: Stop telling other people to not use threads

acoustic socket
#

When have i told someone not to use threads?

low radish
#

not out of the blue, you've been given several explanations and polite nudges, I'm now escalating to the level of warning. Should problems continue it will escalate to actual moderation response

acoustic socket
#

Ah

teal sedge
#

@rough lark Your static method was not ideal for my needs but was very easy to workaround

So far so good, seems to work as expected. I'll give some feedback once I've used it for a lil bit, good stuff!

rough lark
#

that's basically what i am doing to have both static aspects and dynamic assets in the menu

teal sedge
#

I wonder what it would take to have script items in the menu's update themselves instead of being fixed in time for when you edit them. Let's just hope I don't run into the need just yet

rigid idolBOT
teal sedge
#

oh

#

I guess that's just sprinkling manual steps on top.

#

Which is fine, since it's still saving time regardless.

teal sedge
mossy egret
#

i personally dont really like it, but it seems cool

teal sedge
#

Deadset best font I've used, I likely won't switch to anything else.

#

so much easier on the eyes

mossy egret
#

maybe i can port this to a minecraft resource pack tho

teal sedge
#

It's ready to go as a font file

mossy egret
#

perfect

teal sedge
#

You can just install it in the OS

mossy egret
#

i think minecraft resource packs can accept otf

teal sedge
#

yeye

rough lark
#

man, the comparison operators look odd, especially the !==

mossy egret
#

i think italics/any slanted text in general look a bit weird tho

teal sedge
#

i leave most of the ligatures turned off

#

I'll have to take some screenies when I work next, the ligatures and field highlighting is insanely good for digging through SQL returns

mossy egret
#

just reading the license to see if i can include it in my os resource pack lol

low radish
#

ye, it's open license

#

SIL Open Font is the font equivalent to MIT more or less

#

albeit minus one of the most important parts of the MIT license: keeping it short enough that any idiot can read and understand it in a minute

#

which imo should be required for all licenses

mossy egret
#

agpl3 moment

soft pewter
soft pewter
#

hhehehee

mossy egret
#

<player.flag[faction].proc[claim_chip_multiplier]>

soft pewter
#

ik

mossy egret
#

but that looks so cursed

soft pewter
#

eh

#

i guess

foggy ember
#

But the nesting :(

soft pewter
#

haha yeah that seems to annoy a lot of people

foggy ember
#

I suppose that's a matter of preference as well, but

- if !thing:
  - narrate "o no"
  - stop
- narrate yay!

is a lot cleaner to me

mossy egret
#
- if <has_wifi>:
  - if <has_permission>:
    - if <is_connected>:
      - narrate "yay"
    - else:
      - narrate "no connection"
  - else:
    - narrate "No permission"
- else:
  - narrate "No wifi"
``` vs
```yml
- if !<has_wifi>:
  - narrate "No wifi"
  - stop
- if !<has_permission>:
  - narrate "No permission"
  - stop
- if !<is_connected>:
  - narrate "no connection"
  - stop
- narrate "yay"
#

i def prefer second one

soft pewter
#

oh that's what you were talking about

soft pewter
mossy egret
#

(pseudocode btw)

foggy ember
#

Oh, I mean I am a 2 spacer personally lol but I don't really mind it either way

soft pewter
#

it def is a lot nicer

#

ref for one of my newest scripts

unkempt torrent
soft pewter
mossy egret
#

breaks a lot of parsers iirc

mossy egret
#
else:
  if ...
foggy ember
#

I think he meant 4 vs 2 spaces

mossy egret
#

cant this just be else if ...

soft pewter
#

oh my god

#

i

#

wow

mossy egret
#

and you can use the and operator

#

instead of multiple ifs

soft pewter
#

i guess past breadcrumb had a lapse in memory

unkempt torrent
#

I'm talking about the spacing after scripts:

soft pewter
#

yeah people don't like that i do that but it makes the contents much more clearer for me

#
my_task:
    type: task
    script:
    - narrate "this is not as clear to me"
my_other_task:
    type: task
    script:
        - narrate "this is much more clear to me"

just my preference :\

unkempt torrent
mossy egret
#

its valid yaml though, ig its just denizen that doesnt like it

soft pewter
#

yeah :|

#

¯_(ツ)_/¯

mossy egret
#

what do you guys think about these commands

#

are there any obvious and easy ones ive skipped

soft pewter
#

you should add a smite command

#

kills the player with lighting

grim quail
#

Are you copying essentials? If so where is the /home and /antioch

soft pewter
#

SMITE! ⚡

mossy egret
#

doesnt really matter if theyre in ess or not

#

but whats antioch?

grim quail
#

I think it throws tnt or throws a golden apple that explodes. I just remember it just threw something that exploded.

#

And it wasn't cats.

#

There use to be a command that you could use to throw a cat that exploded but didn't do any block or entity damage.

#

I've always hated minecrafts default teleport and made my own /goto to just teleport to other players instead of specifying a target, but that just might be preference.

#

You have ban/unban, what about banip, and unbanip?

mossy egret
#

oo, yeah

mossy egret
old venture
#

oop

mossy egret
#

i'll look thru your essentials thing and make sure i have everything there

old venture
#

u prob do

mossy egret
#

!forums

weary mothBOT
old venture
#

oh yeah u dont have /speed

mossy egret
#

i dont have /tell /reply

#

i dont have /enchant

old venture
#

true!

mossy egret
#

i dont have /invsee /enderhcest

old venture
#

im adding rename, lore (add/remove), kill too

#

some other good ideas for ya

mossy egret
#

im not going to do /kill

#

since its good enough

#

i only want to make denizen commands for stuff that sucks on vanilla (e.g. vanilla /execute command vs a custom /sudo command), or is used a lot but really long to type (e.g. gamemode command)

old venture
#

i rlly dont like the vanilla syntax for killing mobs like @e[type=zombie] so im making an entirely new command just so i can do /kill zombie LMAO

mossy egret
#

make that /killall instead

old venture
#

alr has that

#

oh wait

#

killall zombie?

#

yeah that seems better

old venture
mossy egret
#

i want to avoid those

#

since i want to make those in my discord script insterad

#

so it integrates with timeouts

old venture
#

really? aw man i never thought i'd come across someone who doesnt like the idea of censoring other people

old venture
#

thats very cool

#

ngl

#

you already have a /back command, so where's your custom /tp

#

👀

#

also a convenience command that never fails, /craft

mossy egret
#

for custom worlds, thats already in my world manager script

old venture
#

no reason other for it to be fancy

mossy egret
#

ah yes

old venture
#

why have boring bland white messages when you can have LESS BORING AND DIFFERENTLY COLORED MESSAGES

mossy egret
#

ok invsee command done

#

time for speed

#

ok speed done

#

ok enchant done

#

what you think

old venture
#

nice!

grim quail
mossy egret
#

makes it silent

#

so messages are gone

quartz wraith
#

If you make a game with a running speed faster than than the walking speed I am g o n e

foggy gorge
#

well hello I am g o n e

sinful spindle
#

That's the point of running

#

It's faster

plucky ingot
mossy egret
#

?

quartz wraith
#

sound effects

plucky ingot
#

actually in game

soft pewter
#

Haha that’s cool

mossy egret
acoustic socket
acoustic socket
#

/playsound

foggy ember
#

A lot of things can be done with just command blocks, but it's not as safe, efficient, future-proof, etc.

plucky ingot
#

yeah but

#

it does it automatically on script reload

#

is what i meant

acoustic socket
#

Oooooh that is neat

plucky ingot
#

if your script reloads correctly it goes tada

#

if it errors it does an error sound

quartz wraith
acoustic socket
#

Fun little feature

foggy ember
acoustic socket
#

Denizen is definitely easier to script

quartz wraith
#

“oh you can just make it with command blocks!!!” YEAH I CAN ALSO MAKE SALSA WITH MY FUCKING SHOE

plucky ingot
plucky ingot
#

im pretty sure this is just for a single set of cards

#

there's several

#

and its not even full functionality

#

its so horrible to look at

#

it gives me fucking chills

#

he's spent a few weeks on this

#

like

#

WHY

#

"but denizen is harder"

#

real shit my god dude what the fuck?

#

shit looks like the ENIAC built in minecraft

foggy ember
#

Doing it for the personal challenge or something like that miiiiight mayyyybe make sense? but iirc Mojang makes breaking changes to commands a lot as well

#

I.e. days/weeks/months of work down the drain with a single update

#

Pretty sure we've had people who wouldn't update because of command blocks, actually

quartz wraith
#

a useful tool? maybe for summoning like a thousand zombies. good for anything else? no.

foggy ember
#

- spawn <element[zombie].repeat_as_list[1000]> <player.location>

soft pewter
#

Surprise attack!

plucky ingot
unkempt torrent
#

45 active posts holy

soft pewter
strange kiln
#

how would i join two lists together?

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

plucky ingot
#

noted: do make sure to use the correct versions of both denizen, depenizen and the plugins i'm using depenizen for

rigid idolBOT
soft pewter
#

yikes

unkempt torrent
#

vscode is a nice text editor too

#

also nice to view log files

plucky ingot
soft pewter
#

!makepost

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

shy remnant
#

How do I force a phantom to target and attack a player. The attack command says it can’t hold a target

foggy ember
shy remnant
#

10-4 I made one

shy remnant
#

Is there not a mech for adjusting the “time since last slept” variable or whatever.. I think that’s why phantoms won’t target me cause it targeted another player who hasn’t died recently

foggy ember
#

Um

foggy ember
plucky ingot
soft pewter
#

LOL

#

I love portal 2 it’s so fun

foggy ember
plucky ingot
#

i've always used it but now im just doing it because i find it hilarious that each time i send a code snippet it just flashbangs everyone

foggy ember
#

I mean, the only person you're affecting is yourself lol - you're knowingly avoiding stuff like full syntax highlighting, auto-complete, automatic error checking, in-editor meta documentation (for commands, mechanisms, events, tags), etc.

plucky ingot
#

i know

old venture
#

just make ur vscode theme fully white

#

and use the colors for commands defs etc etc all black

#

you simulate notepad's whiteness with all the vscode coolness

plucky ingot
#

i have enough free time and medical insurance for banging my head into a wall dont worry 👍

foggy ember
plucky ingot
#

true

unkempt torrent
#

wait you don't use vscode for scripts? o.0

#

that explains 66% of the script issues you had

#

yeah, use vscode to edit scripts

#

!guide setup your script editor

weary mothBOT
#
Possible Confusion

Did you mean to search for setting up your script editor?

unkempt torrent
old venture
plucky ingot
plucky ingot
#

you fool

soft pewter
#

Why not
- determine passively cancelled? no violence needed :)

plucky ingot
#

i am going to make a list of cursed denizen images

old venture
plucky ingot
#

like this for example

unkempt torrent
soft pewter
#

#chatter message

#

Emphasis on tried

plucky ingot
soft pewter
#

oh boy

plucky ingot
unkempt torrent
plucky ingot
#

they actually work i dont know why it errors tbh

unkempt torrent
#

that's an

#

!itworks

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

unkempt torrent
#

case

#

the vscode extension would warn you about it

#

that's one reason why the extension exists

old venture
plucky ingot
#

my friend uses it

old venture
#

dude

#

as funny as this is

#

u should prob stop """trolling"""

#

or else u gonna get slapped in the face by the mods

grim quail
#

Can you really just change the font to whatever you want? How do you even do that in VSC?

mossy egret
#

Yeah it’s a setting

#

Now that I think about it, I’ve only changed the font to the monocraft font in my dream

#

Need to actually do it lol

grim quail
#

I have no idea where to find that setting.

mossy egret
#

I suggest you go to the settings and just search “font”

grim quail
#

Seems like every guide I try to find tells me to edit an existing line that doesn't exist.

#

I'll figure it out eventually.

old venture
#

i changed mine to minecraft's font

#

its rlly wonky rn but has a vibe

grim quail
#

I tried to change it to Terminal and nothing happened.

#

Other fonts seem to work fine though, maybe it's picky with the fonts.

old venture
#

you have to have it installed on your computer

#

in the fonts settings or whatever its called in english

#

drop the .otf in there and then you can change the vs theme

grim quail
#

Terminal is a default font.

old venture
#

oop

grim quail
#

Yeah I dunno, it's whatever. Not really a priority because I like default font but I just wanted to change it to more of a classic console text.

teal sedge
#

Monocraft gang

#

Oh wait this needs to be a thread hangon

low radish
#

That should definitely have been in a thread

#

I see #1044093063628337251 was made after-the-fact

#

make it in the first place

#

don't post in this open thread, make new threads

#

New threads is the default, preferred choice.

teal sedge
#

Hello king. I posted it here, then realized, then went and opened the thread straight away.

I didn't delete the post above because I did that once before and got bot command-ed re: rule 8

I know the above probably falls under the category of "posting error, can delete soon after posting", but alas, the time for that is long gone.

#

So here it remains, until one of us dies, or discord goes too far adding forum-like featurs and we crawl back to IRC+MyBB forums

#

That is definitely a loon's wishful thinking, but manifest your destiny my friend. I will retire this year, I will retire this year.

grim quail
teal sedge
#

Alright so, I still gotta finish up the instructions and put everything together in a .zip with the resource pack and all, but I thought I'd do a small sneak peek before I dump it here in all it's glory.

I got really tired of having to either define a set of circumstances to run denizen scripts, or do a bunch of effort to note areas and whatnot, so I did a Mergu.

It will make more sense once you get your hands on it, but if you're using denizen in the world for player-interactable things, this should be a godsend.

After actual months worth of pain, I present to you, netblocks!

#

If you've ever done map design on games with functioning dev tools, you'll be familiar with what I've tried to achieve here.

#

Oh and a word of advice; don't install a piano in your work area if you're prone to distractions.

grim quail
# teal sedge

I was gonna do something similar to this, so this is cool to see something of this scale. Probably far more advanced than I was thinking.

plucky ingot
#

(spoilered ig)

old venture
#

LMAO

#

so many blood fits in a thing that small? dammn

candid kraken
acoustic socket
#

Seems simple enough

quartz wraith
#

reminds me of the gibs from mobends

plucky ingot
quartz wraith
#

hey monkey would you be cool with a “more examples” PR similar to 0Tick’s?

mossy egret
#

You should join our thread if so btw #1040062959336034314

quartz wraith
#

No access

#

I’m not contributor

mossy egret
#

Oh yeah

low radish
#

if you want to help add examples, absolutely go ahead, just, yknow, follow the same rules mentioned in that thread, and be careful to not edit the same files that they're editing at the same time

quartz wraith
#

ye

#

I like documentation because I have brain damage

grim quail
#

Compensating for users not having accepted my resource pack to display different things in chat is nice, although it does feel kind of weird seeing the images in chat. Haha.

plucky ingot
candid kraken
plucky ingot
candid kraken
#

thanks!

plucky ingot
#

i slightly improved it meanwhile

#

it can get laggy tho

candid kraken
#

oh cool

candid kraken
plucky ingot
#

so maybe add some server flag for amount of giblets

candid kraken
#

giblets?

plucky ingot
#

gib particles

#

the flying wacky bloody

candid kraken
#

ohh

plucky ingot
#

rather decent pc + allocated 5-6 gb ram

candid kraken
#

oh wow

plucky ingot
#

so yeah probably edit the amount and just up the particles instead lol

#

or make the while loop tick a little slower

candid kraken
#

my server only has two gb ram so I dont even know if it can handle one lmfao

plucky ingot
#

btw the reason i made that script is so i can use it for the arcane beam for my magicka inspired (ripped off) attacks

#

i also made the ice

candid kraken
#

woah

#

thats pretty cool

#

whats magicka?

plucky ingot
# candid kraken whats magicka?

funny little isometric game where you can combine elements to either cast spells or just on their own mixed together in various ways

severe hornet
#

magicka is a classic

plucky ingot
#

its really good but the sequel sucks ass (first is made for being an actual fun good game and the 2nd is made to make money for paradox studios lmao)

candid kraken
#

when did it come out?

#

2011

#

yeah

#

I wasnt born early enough to have played all the "classics"

#

at the time they were at their peak

#

sounds like a really fun game though

plucky ingot
#

it litterally has a spell combination called "crash to desktop" which does exactly that

candid kraken
#

did they have a bsod spell combination lol

plucky ingot
#

and the image for that spell is one of the mattress doing a FFFUUUUUUU rage face

#

with text and all