1+ # ++++++ License Notice ++++++
2+ #
3+ # The following code is distributed under
4+ # the CC-BY-SA-4.0 license (Attribution-ShareAlike 4.0 International).
5+ #
6+ # | You are free to:
7+ # - Share
8+ # copy and redistribute the material in any medium or format
9+ #
10+ # - Adapt
11+ # remix, transform, and build upon the material
12+ # for any purpose, even commercially.
13+ #
14+ # | Under the following terms:
15+ # - Attribution
16+ # You must give appropriate credit,
17+ # provide a link to the license, and indicate if changes were made.
18+ # You may do so in any reasonable manner,
19+ # but not in any way that suggests the licensor endorses you or your use.
20+ #
21+ # - ShareAlike
22+ # If you remix, transform, or build upon the material,
23+ # you must distribute your contributions under the same license as the original.
24+ #
25+ # - A copy of the full license can be found here: https://creativecommons.org/licenses/by-sa/4.0/
26+ #
27+ # ++++++ License End ++++++
28+ #
29+ # +---------------------------------+
30+ # | |
31+ # | Redeemable Codes - Configs |
32+ # | |
33+ # | This is only the config file |
34+ # | DO NOT DELETE THIS FILE! |
35+ # | |
36+ # +---------------------------------+
37+ #
38+ # @author Spikehidden
39+ # @date 2022/06/10
40+ # @denizen-build 1.2.4-SNAPSHOT (build 1766-REL)
41+ # @script-version 1.2
42+ #
43+ # + REQUIREMENTS +
44+ # - Spikehidden Redeemable Codes | https://github.com/spikehidden/
45+ #
46+ # + Required or recommended for some features +
47+ # - A Pastebin Account + DevKey if you want to use that feature.
48+
49+ # + CONTACT +
50+ #
51+ # If you need help with the setup
52+ # or want me to add a feature please
53+ # contact me via Twitter or Discord
54+ # or open an issue at GitHub!
55+ #
56+ # - Twitter: https://spikey.biz/twitter
57+ # - Discord: https://spikey.biz/discord
58+ # - Twitch: https://spikey.biz/twitch
59+ # - Ko-Fi: https://spikey.biz/kofi
60+
61+ # ++++++ World ++++++
62+ SpikeCodeRedeemWizebotSystem :
63+ type : world
64+ debug : true
65+ events :
66+ #- Check if core script is loaded
67+ on server start :
68+ - if <server.has_flag[SpikehiddenUpdater] > :
69+ - announce "<&ss> 9[SpikeCodeRedeem] <&ss> r Spikehidden's Auto Updater has been found!" to_console
70+ - flag server SpikeCodeRedeemAutoUpdate:github
71+ - flag server SpikehiddenUpdater.data:->:SpikeCodeRedeemAutoUpdate
72+ - announce "<&ss> 9[SpikeCodeRedeem] <&ss> r Providing Update data of Auto Generate Addon for Spikehidden's Auto Updater" to_console
73+ after server start :
74+ - if <server.has_flag[SpikeCodeRedeem] > :
75+ - define port <script[SpikeCodeRedeemData] .data_key[wizebot.web.port] >
76+ - flag server SpikeCodeRedeem.addon.wizebot
77+ - announce "<&ss> 9[SpikeCodeRedeem] <&ss> r Add-On <&dq> Wizebot<&dq> is loaded." to_console
78+ - webserver start
79+ - else :
80+ - announce "<&ss> 9[SpikeCodeRedeem] <&ss> r Add-On <&dq> Wizebot<&dq> can't be used without core script." to_console
81+ - announce "<&ss> 9[SpikeCodeRedeem] <&ss> r Download core script from https://github.com/spikehidden/CodeRedeemScript" to_console
82+
83+ SpikeCodeRedeemWizebotAPI :
84+ type : world
85+ debug : true
86+ events :
87+ webserver web request method:post path:/wizebot :
88+ -
0 commit comments