-
Notifications
You must be signed in to change notification settings - Fork 28
/
discord-helper.yml
85 lines (83 loc) · 6.95 KB
/
discord-helper.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Start 1MB Add-on: CMI to Discord Helper (version 1.2.1, build 011) (Made for Minecraft 1.19 with CMI 9.2.x.x or newer)
# Created by Floris Fiedeldij Dop, with contributions from smeths and _hepcat_
# Installation instructions:
# - Make sure you are running DiscordSRV, PlaceholderAPI, as well as the Jobs and McMMO and optionally PyroWelcomes and PyroFishingPro
# - Just remove the commands for plugins you're not using. If you have more plugins, this should be a great example on how to make your own.
# - Download and then place in `~/plugins/CMI/CustomAlias/` directory.
# - And then just /cmi reload.
CustomAlias:
#/mcstats discord (Displays mcMMO Overhaul 2.x statistics to Discord)
mcstats discord:
Cmds:
- cooldown:60?#! msg! [playerName] {#orange} .. Sending /mcstats information to Discord.
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :zap: **power level** `%mcmmo_power_level%`'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :boot: **acrobatics**`%mcmmo_level_acrobatics%` (rank: %mcmmo_rank_acrobatics%) / :test_tube: **alchemy** `%mcmmo_level_alchemy%` (rank: %mcmmo_rank_alchemy%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :archery: **archery**`%mcmmo_level_archery%` (rank: %mcmmo_rank_archery%) / :axe: **axes** `%mcmmo_level_axes%` (rank: %mcmmo_rank_axes%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :spoon: **excavation**`%mcmmo_level_excavation%` (rank: %mcmmo_rank_excavation%) / :fish: **fishing** `%mcmmo_level_fishing%` (rank: %mcmmo_rank_fishing%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :herb: **herbalism**`%mcmmo_level_herbalism%` (rank: %mcmmo_rank_herbalism%) / :pick: **mining** `%mcmmo_level_mining%` (rank: %mcmmo_rank_mining%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :tools: **repair**`%mcmmo_level_repair%` (rank: %mcmmo_rank_repair%) / :crossed_swords: **swords** `%mcmmo_level_swords%` (rank: %mcmmo_rank_swords%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :fox: **taming**`%mcmmo_level_taming%` (rank: %mcmmo_rank_taming%) / :mechanical_arm: **unarmed** `%mcmmo_level_unarmed%` (rank: %mcmmo_rank_unarmed%)'
- 'asConsole! discordsrv broadcast **(mcMMO)** `[playerName]` :axe: **woodcutting**`%mcmmo_level_woodcutting%` (rank: %mcmmo_rank_woodcutting%) / _Want more? Ingame type: /mcstats, /mcrank, /mctop_'
Tab: false
#/jobs discord (Displays Jobs-Reborn 5.x statistics to Discord)
jobs discord:
Cmds:
- cooldown:60?#! msg! [playerName] {#orange} .. Sending /jobs stats information to Discord.
- 'asConsole! discordsrv broadcast **(Jobs)** `[playerName]` :zap: **Jobs Joined**: `%jobsr_user_joinedjobcount% / %jobsr_maxjobs%`'
- 'asConsole! discordsrv broadcast **(Jobs)** `[playerName]` :zap: **Jobs list**: %jobsr_user_job_1%(%jobsr_user_jlevel_1%/%jobsr_user_jmaxlvl_1%) %jobsr_user_job_2%(%jobsr_user_jlevel_2%/%jobsr_user_jmaxlvl_2%) %jobsr_user_job_3%(%jobsr_user_jlevel_3%/%jobsr_user_jmaxlvl_3%)'
- 'asConsole! discordsrv broadcast **(Jobs)** `[playerName]` :zap: **Jobs skill**: `%jobs_total_levels%`'
- 'asConsole! discordsrv broadcast **(Jobs)** `[playerName]` :zap: **Jobs points**: `%jobsr_user_points_fixed%`'
Tab: false
#/fish discord (displays PyroFishingPro fishing statistics to Discord)
fish discord:
Cmds:
- cooldown:60?#! msg! [playerName] {#orange} .. Sending /fish stats information to Discord.
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fish: (/fish) **Level**: `%pyrofishingpro_level%`'
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fish: (/fish) **Entropy**: `%pyrofishingpro_entropy%`'
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fish: (/fish) **Total caught**: `%pyrofishingpro_totalfishcaught%`'
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fish: (/fish) **Tournaments won**: `%pyrofishingpro_tournamentswon%`'
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fishing_pole_and_fish: (mcMMO) **/fishing level**: `%mcmmo_level_fishing%` | **Rank:** `%mcmmo_rank_fishing%`'
- 'asConsole! discordsrv broadcast **(Fish)** `[playerName]` :fishing_pole_and_fish: (Jobs) **Is a Fisherman?**: `%jobsr_user_isin_Fisherman%` | **Level:** `%jobsr_user_jlevel_Fisherman%`'
Tab: false
#/account discord (displays some account details to Discord, using details from VotingPlugin, Economy, PyroWelcomes, Jobs-reborn)
account discord:
Cmds:
- cooldown:60?#! msg! [playerName] {#orange} .. Sending Account Balances information to Discord.
- 'asConsole! discordsrv broadcast **(Balance)** `[playerName]` :moneybag: **/money**: `%cmi_user_balance_formatted%`'
- 'asConsole! discordsrv broadcast **(Balance)** `[playerName]` :moneybag: **/points**: `%pyrowelcomes_points%`'
- 'asConsole! discordsrv broadcast **(Balance)** `[playerName]` :moneybag: **/vote points**: `%VotingPlugin_Points_format%`'
- 'asConsole! discordsrv broadcast **(Balance)** `[playerName]` :moneybag: **/jobs Points **: `%jobsr_user_points%`'
Tab: false
report:
Cmds:
- 'check:$1==player! check:$2!=null! check:$2!=[playerName]! check:$3!=null! asConsole! cooldown:300?!
discordsrv broadcast **[PLAYER-REPORT]** \n> __Submitted
by__: `[playerName]` \n> __Reported__ __Player__: `$2` \n> __Reason__: \n-> `$3-`
\n> ||@Helper||'
- 'check:$1==bug! check:$2!=null! cooldown:300?! asConsole! discordsrv broadcast
**[BUG-REPORT]** \n> __Submitted by__: `[playerName]` \n>
__Bug__: \n-> `$2-` \n> ||@Helper||'
- 'check:$1==suggestion! check:$2!=null! cooldown:300?! asConsole! discordsrv
broadcast **[SUGGESTION]** \n> __Submitted by__: `[playerName]`
\n> __Suggestion__: \n-> `$2-` \n> ||@Admin||'
- check:$1==null! asConsole! ctext report [playerName]
- check:$1!=null! check:$2==null! asConsole! ctext report [playerName]
- check:$1==player! check:$2!=null! check:$3==null! asConsole! ctext report [playerName]
- check:$1==player! check:$2!=null! check:$2==[playerName] check:$3!=null msg! [playerName]
&4You can not report yourself!
- check:$1==player! check:$2!=null! check:$2!=[playerName] check:$3!=null! ifoffline:$2 msg! [playerName]
&4The Player is offline! You can only report online players.
- check:$1==player! check:$2!=null! check:$2!=[playerName] check:$3!=null! ifonline:$2 msg! [playerName]
&eYour report has been submitted. It will be reviewed by our staff shortly.
If accepted, you will receive a mail.
- check:$1==bug! check:$2!=null! msg! [playerName] &eYour bug report
has been submitted. It will be reviewed by our staff shortly. If accepted, you
will receive a mail.
- check:$1==suggestion! check:$2!=null! msg! [playerName] &eYour
suggestion has been submitted. It will be reviewed by our staff shortly. If
accepted, you will receive a mail.
CustomTabs:
- player [playerName]
- suggestion
- bug
# End 1MB Add-on: CMI to Discord Helper