gnembon
d99ab4fc24
limit depth of game_tick, just in case.
2020-12-20 22:58:41 -04:00
gnembon
f54a098948
allow apps define their own command permission level, fixes #542
2020-12-07 16:03:42 -04:00
gnembon
522d971688
added startup and shutdown events. fixes #586
2020-12-07 01:11:55 -04:00
gnembon
e8a6b8936f
as per discussion, since scripts can now be stowed in the global bin, it makes sense for apps to behave like datapacks. fixes #613
2020-12-07 00:32:08 -04:00
gnembon
ac6b3c7f48
apps can be organized in floders in your shared instance space.
2020-12-06 23:40:02 -04:00
gnembon
6e5af5bfc8
added list_files, fixes #589
2020-12-03 04:05:11 -04:00
gnembon
d29f49967f
rework of the event system, allowing apps to function more independently and allowing for player scoped apps to handle global events. fixes #596
2020-12-02 01:02:36 -04:00
altrisi
5dfd956ba2
Only allow globals in clients, fix potential issue and mention in docs
2020-11-29 21:45:53 +01:00
altrisi
210ad834f6
Allow loading apps from a global path
2020-11-29 15:49:28 +01:00
gnembon
209c3b9262
fixed issues with reload and missing command handler
2020-11-24 22:52:05 -04:00
gnembon
724b63df8a
using beta as a indicator
2020-11-24 19:43:21 -04:00
Ghoulboy and altrisi
aeb3e382a6
Replacing draw and distance with apps ( #553 )
...
* added draw.sc app
Now working on distance app
* Adding apps as carpet rules
* adding distance app
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com >
2020-11-24 19:40:55 -04:00
gnembon
fee127a942
hide beta builtin apps
2020-11-24 19:38:38 -04:00
gnembon
a297fd1441
Scarpet rules can provide multinary boolean permission level, fixes #572
2020-11-23 02:35:01 -04:00
altrisi and gnembon
ba1071a8d1
Javadocs, cleanup, extension's client rules, built-in BundledModules generators, etc ( #544 )
...
* Add javadocs to many methods
* Added built-in ways to generate BundledModules and documented them
* Add Eclipse launch files to .gitignore and fix 11 warnings
* Remove many unused imports
* Remove some dead and unused code around app loading
* Allow extensions to have client-side rules in their SettingsManager
Also change tabs to spaces when those changed
* Remove unnecessary classloader param in BundledModule
* Change max tickwarp duration to Integer.MAX_VALUE
* Move RulePrinter into the source so it can be managed by the IDE
* Properly reset hopperCounters when changing worlds
Also change tabs to spaces again and minor tweaks to javadocs
* Run mergedocs even if Full.md was modified
* Update src/main/java/carpet/commands/TickCommand.java
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
2020-11-16 09:30:59 -04:00
gnembon
5f9df1239a
added strict command matching
2020-11-13 04:45:51 -04:00
gnembon
9f6771123f
custom command trees, no validation so far
2020-11-12 02:55:18 -04:00
gnembon
55643632ca
custom events, and low level event API
2020-11-11 02:06:45 -04:00
gnembon
9e8556f9d9
command arguments done
2020-11-09 03:04:26 -04:00
gnembon
79dc85274d
revert some app changes preparing for release of 1.17
2020-11-04 20:11:21 -04:00
gnembon
af668bfdbc
custom arg types - WIP
2020-11-03 06:30:49 -04:00
gnembon
741edf1465
three things:
...
- logger is carpet, fixes #522
- fixed fancy commands to functions - so could be used later with lambdas and functions that use different argument names
- moved a few builtin apps to commands via /carpet
2020-11-03 04:45:08 -04:00
altrisi
b9eee6e58b
Allow rules to manage Scarpet apps (Scarpet Rules) ( #519 )
...
by altrisi
2020-11-02 21:52:21 -04:00
gnembon
8902cec747
make it more obscure
2020-11-02 16:28:00 -04:00
gnembon
d9727862da
wip
2020-11-02 16:27:03 -04:00
gnembon
1d81768c54
custom args WIP
2020-11-02 01:32:04 -04:00
gnembon
7ccd46433a
entity load handler and rework of handling of events.
2020-10-30 22:59:27 -03:00
gnembon
1268af4131
Fixed threading and add shutdown control for threads via sleep
2020-10-24 22:18:02 -03:00
gnembon
1006e0ac40
commands return integer value if possible, fixes #408
...
handle infinite values as infinities.
2020-09-05 02:06:59 -03:00
gnembon
267c3c0788
added ai_tracker built-in app
2020-08-15 02:33:03 -03:00
gnembon
eaded1450d
apps when loaded while being loaded are now properly reloaded
2020-08-15 02:32:32 -03:00
gnembon
0e21942df7
Merge branch 'master' into 1.16
2020-07-13 00:41:34 -03:00
gnembon
5f34b5c96c
Easier for extensions to add their own built-in apps
2020-07-12 23:00:05 -03:00
gnembon
9aa580cfa5
Merge branch 'master' into 1.16
...
# Conflicts:
# src/main/java/carpet/script/CarpetExpression.java
# src/main/java/carpet/script/utils/ShapeDispatcher.java
# src/main/java/carpet/script/utils/ShapesRenderer.java
2020-06-10 01:36:11 -03:00
gnembon
58862fca11
added snap to shape
...
added bulk shape rendering
2020-06-10 01:25:51 -03:00
gnembon
10009a9381
upd
2020-06-07 02:09:16 -03:00
gnembon
f29153c3d2
Merge branch 'master' into 1.16
...
# Conflicts:
# src/main/java/carpet/CarpetSettings.java
# src/main/java/carpet/script/CarpetScriptServer.java
# src/main/java/carpet/script/bundled/Module.java
2020-06-07 01:59:15 -03:00
gnembon
b3484fd012
fixed missing client side server references. fixes #311
2020-06-06 20:39:25 -03:00
gnembon
c5841408a6
extensions trigger for resource reload. Apps will reload upon reload
2020-06-05 23:23:47 -03:00
gnembon
c61429099a
mappings
2020-06-04 15:59:46 -03:00
gnembon
cf817c2e39
mappings
2020-05-21 14:23:04 -03:00
gnembon
f2e9a9de91
20w17a
2020-04-22 17:00:31 -03:00
gnembon
76080f1a59
20w14a
2020-04-02 23:38:19 -03:00
gnembon
5c9774f1d2
added feedback to event calling and fixed event registry
...
disabled ability to handle global events from player scoped apps
2020-02-25 01:29:21 -04:00
gnembon
9430fcc052
handled better errors and stack traces for more (all) cases
2020-01-27 22:47:29 -04:00
gnembon
e7d9c62b11
slime chunks to renderers
2020-01-25 22:08:25 -04:00
gnembon
e8c077a65d
added structure renderer.
2020-01-25 20:05:52 -04:00
gnembon
3d49e15795
added math library
2020-01-25 01:18:03 -04:00
gnembon
316739c624
added synchronization and thread shutdown procedures.
2020-01-14 14:23:33 -04:00
gnembon
cfc71b845d
system key-value storage
2020-01-14 01:26:46 -04:00