Skip to content

Commit

Permalink
Removed Confirm Reload
Browse files Browse the repository at this point in the history
  • Loading branch information
DinnerBeef committed Oct 28, 2023
1 parent 5aef25a commit bd0995d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
15 changes: 14 additions & 1 deletion data/lt/functions/main/on_load.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Play sound to indicate server is reloaded
execute as @a[tag=main.operator] at @s run playsound minecraft:block.note_block.basedrum master @s ~ ~ ~ 2 1.5

# Put a message in chat to indicate server is reloaded
tellraw @a[tag=main.operator] [{"text":"<@>","color":"gray"}, {"text":" Reload: ","color":"yellow"}, {"score":{"name":"Reloads","objective":"main.stats"}, "color": "red"}]

# Initiate main module scoreboards
scoreboard objectives add main.global dummy
scoreboard objectives add main.number dummy
Expand Down Expand Up @@ -53,4 +59,11 @@ team modify club.hideNames nametagVisibility never
scoreboard objectives add donation.effects dummy

#Player disguise cloning
scoreboard objectives add disguise.cloneing dummy
scoreboard objectives add disguise.cloneing dummy

# Schedule 10 second counter
schedule clear lt:main/on_ten_seconds
schedule function lt:main/on_ten_seconds 10s

#Reset the donation effect to 0 just in case
function lt:events/donation/sky_effects/reset
9 changes: 0 additions & 9 deletions data/lt/functions/main/on_reload/query_confirm.mcfunction

This file was deleted.

2 changes: 0 additions & 2 deletions data/lt/functions/main/on_reload/reload_confirmed.mcfunction

This file was deleted.

2 changes: 1 addition & 1 deletion data/minecraft/tags/functions/load.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"values": [
"lt:main/on_reload/query_confirm"
"lt:main/on_load"
]
}

0 comments on commit bd0995d

Please sign in to comment.