Date: 2023/08/12 03:42:32 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
bagel_coins_handler:
type: world
debug: false
events:
on player joins:
- flag <player> bagelcoins:100 if:<player.has_flag[bagelcoins].not>
bagel_coins_checker:
type: command
debug: false
name: bagelamount
description: Checks your amount
usage: /bagelamount
permission: bagelcheck.get
script:
- narrate "You have <player.flag[bagelcoins].if_null[0]> Bagelcoins!"
bagel_coin_add:
type: command
debug: false
name: addbagel
description: Adds Bagelcoins to a player's account
usage: /addbagel
permission: addbagel.get
script:
- flag <player> bagelcoins:+:10
bagel_coin_remove:
type: command
debug: false
name: removebagel
description: Adds Bagelcoins to a player's account
usage: /removebagel
permission: removebagel.get
script:
- flag <player> bagelcoins:-:10