#(ArcSid) making ground item clearing script, how can I loop something to happen every 29 minutes?

56 messages · Page 1 of 1 (latest)

pearl wing
#
        - announce "<&c><&l>  ♛ Clearing Ground items in &e&l1 minute <&c><&l>♛"
        - wait 1m
        - announce "<&c><&l>  ♛ &a&lClearing Ground items <&c><&l>♛"
        - execute as_server "kill @e[type=item]" silent```
^ the script i wanna repeat every 29 minutes indefinitely
shrewd drumBOT
#

(ArcSid) making ground item clearing script, how can I loop something to happen every 29 minutes?

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

tame gale
#

!e system secondly

iron geyserBOT
#
Possible Confusion

Did you mean to search for system time hh:mm?

iron geyserBOT
# tame gale !e system secondly
Group

Core

Event Lines

system time <HH:MM> system time hourly|minutely|secondly

Switches

every:<count> to only run the event every *count* times (like "on system time secondly every:5" for every 5 seconds).

Triggers

when the system time changes to the specified value.
The system time is the real world time set in the server's operating system.
It is not necessarily in sync with the game server time, which may vary (for example, when the server is lagging).
For events based on in-game time passage, use !event delta time or !command wait.

Context

<context.hour> returns the exact hour of the system time.
<context.minute> returns the exact minute of the system time.

Examples
on system time hourly:
- announce "Whoa an hour passed!"
on system time 12:00:
- announce "Whoa it's noon!"
on system time 03:00:
- announce "Daily restart in 5 minutes!"
- wait 5m
- adjust server restart
pearl wing
#

OH

tame gale
#

^ system time minutely every:29

pearl wing
#

thanks lol

tame gale
#

ye

wet pagodaBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@pearl wing

pearl wing
#
Trash_Clear_event:
    type: world
    debug: false
    events:
        on system time minutely every:29:
        - wait 29m
        - announce "<&c><&l>  ♛ Clearing Ground items in &e&l1 minute <&c><&l>♛"
        - wait 1m
        - announce "<&c><&l>  ♛ &a&lClearing Ground items <&c><&l>♛"
        - execute as_server "kill @e[type=item]" silent```
tame gale
#

no wait

pearl wing
#

so this should work then right?

tame gale
#

drop that wait

pearl wing
#

OPH

#

the wait

#

thing

#

the math is dumb

#

uhh

tame gale
#

is this meant to be once an hour

pearl wing
#

nope once every 30 mins

tepid linden
#

Paper has a config setting for that, btw

pearl wing
#

cuz i have incopmprehensible amounts of dropped items

tame gale
#

also y do you have non-tag color codes in there

pearl wing
#

wdym

tame gale
#

also why are you executing a vanilla command

pearl wing
#

oh

tame gale
#

!c remove

iron geyserBOT
# tame gale !c remove
Group

entity

Syntax

remove [<entity>|...] (world:<world>)

Short Description

Despawns an entity or list of entities, permanently removing any NPCs.

Description

Removes the selected entity. May also take a list of entities to remove.

Any NPC removed this way is completely removed, as if by '/npc remove'.
For temporary NPC removal, see !command despawn.

If a generic entity name is given (like 'zombie'), this will remove all entities of that type from the given world.
Optionally, you may specify a world to target.
(Defaults to the world of the player running the command)

tame gale
#

^ remove dropped_item

pearl wing
#

i just like the command

#

ig

#

imma look in default paper config as aya suggested

tepid linden
pearl wing
#

but either way i rarely use denizen

tame gale
#

why is that relevant

pearl wing
pearl wing
tame gale
#

okay i'm too tired to try to respond to that rn i think

pearl wing
#

yeah yeah but i dont have a big use for denizen

#

just for my immovable hotbar items

#

and a restart script

#

and a drag and drop enchanting system

#

thats pretty much it

#

ight i think its solved

#

until i decide its not