Commit Graph

124 Commits

Author SHA1 Message Date
5f037df326 Adding missing permissions
Added some basic permissions to some basic and fawe specific commands.
Since they weren't around previously, they are true by default, however, you can now revoke/negate them.
2019-06-13 00:48:40 +02:00
1f14d4652e Upstream changes, prefix changes, formatting changes, variable name changes
I think that draining waterlogged items also works now?
2019-06-12 17:13:53 -04:00
ec001b8d3b Revert "Upstream, generics, formatting"
This reverts commit cd88e513a8.
2019-06-12 15:45:41 +02:00
cd88e513a8 Upstream, generics, formatting 2019-06-11 20:31:56 -04:00
7f3c4c4828 A lot of removals, upstream merges, and maybe more. 2019-06-07 20:58:48 -04:00
6c94cca15e Selective upstream merge
Signed-off-by: MattBDev <4009945+MattBDev@users.noreply.github.com>
2019-06-04 12:40:11 -04:00
9099a17fe5 Some command refactoring. Switch usages of page args to -p flag. 2019-06-01 07:04:07 -04:00
3173e26109 Fix //expand, improve //help 2019-05-17 22:24:31 -07:00
018b6bead8 Tweak removeabove/removebelow commands.
Fix misplaced negative.
Layer 0 will always be the current layer, plus <height> layers
above/below. No longer adds 1 arbitrarily to height.
2019-05-02 19:01:28 -04:00
6c21ae5c83 Drop old calc message 2019-04-28 22:09:48 -07:00
82c4846436 Add more variable args for expressions, quoting 2019-04-28 22:03:54 -07:00
32d4b36419 Fixed //drawsel 2019-04-28 17:05:37 +10:00
b3053f19ce Pagination changes and cleanup.
Refactored PaginationBox to be abstract. Implementations can generate individual components as needed now.
Add lots of Component usage to schematic list, help listings, etc.
Fix a few schematic and file resolution issues.
2019-04-28 01:12:05 -04:00
968decf62e Remove the -l lightning flag from butcher 2019-04-26 23:42:57 +10:00
853bfab022 Merge master, update to texts 2019-04-25 22:11:46 -07:00
d8290cbd8f Port worldedit commands 2019-04-25 21:03:28 -07:00
9b0fda9f83 Port utility commands 2019-04-25 19:36:22 -07:00
5606e752c2 Use wrappers for the Format-type components 2019-04-25 19:11:58 +10:00
c52eb59d7f Get it all working 2019-04-22 22:05:20 +10:00
1e7b4fc835 Move shaded libraries to their own artifacts 2019-04-20 23:11:39 -07:00
5b1573a24e Replace the message system 2019-04-19 23:06:00 +10:00
f33140b327 Port ChunkCommands, fix up injection, simplify registration 2019-04-16 23:02:23 -07:00
267ccf2298 First attempt at integrating Piston as the only command system 2019-04-15 01:21:15 -07:00
c05cdb35d8 Don't use CommandContext here 2019-04-12 00:56:59 +10:00
652f27c853 Fix fixLiquid 2019-04-09 11:29:43 +08:00
d49c5ebe74 translate a few utility commands 2019-04-06 03:04:27 +11:00
be5541b61b revert some changes 2019-04-05 15:48:41 +11:00
7086eb8b3e continue with merge 2019-04-03 22:28:57 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
699783ba72 Another selective merge 2019-03-28 15:02:37 -04:00
85bfd16d7c Code cleaning
Most notable change: Remove redundant type parameters and replaced with <>. This is a small step to bring us closer to upstream parity.
2019-03-25 19:55:32 -04:00
de08c8b8c7 Add better control over expression timeouts. (#451)
Add better control over expression timeouts.
* //timeout command can be used to change player's current timeout.
* Config now also has a max timeout, can be bypassed with permission
* Timeout of < 0 will let expressions run indefinitely.
* Said expressions won't run on a separate thread, slightly reducing the
  overhead from context switching. For large //gen commands, for example,
  this can actually increase speed.
2019-03-06 19:58:32 -05:00
9eeb0acffe Add radius checks to a few more utility commands. 2019-02-25 18:41:20 -05:00
88014b18a3 Added a few new things using block states.
* `//set ##*tag` sets all states in the tag (not just default state per type)
* `//set ^type` is a pattern changing block type but copying all valid existing states
* `//set ^[prop=val,...]` sets the property `prop` to `val` wherever the existing block has that property
* `//set ^type[prop=val,...]` does both of the above
Those work anywhere a pattern is taken, of course.

* The mask syntax `^[prop=val]` matches blocks with the property `prop` set to `val`, or blocks that don't have the property at all.
* The mask syntax `^=[prop=val]` only matches blocks that have the property.
Those work anywhere a mask is taken, of course. (`//mask`, `//gmask`, `//replace`, etc)

The `//drain` command now takes `-w` flag that removes the waterlogged state from blocks (in addition to removing water, as before).
2019-02-14 17:21:01 -05:00
590b7e23a9 Remove all raw usages of BSH, improve API generics 2019-02-03 05:01:39 -05:00
53308416ff Start work on modularising masks and patterns 2019-02-03 03:33:52 -05:00
e53535319d Plenty of changes to core block behavior to become more compatible with upstream WorldEdit (still more to be done!) 2019-01-31 10:08:58 -05:00
f74381b93f Merge remote-tracking branch 'refs/remotes/isfawe/new-vector-system' into new-vector-system 2019-01-13 02:00:14 -05:00
628c9cc0b7 Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block. 2019-01-10 09:54:21 -05:00
ab6aed703d Merge current FAWE master (227d6d91) into new-vector-system
Signed-off-by: Byron Marohn <combustible@live.com>
2019-01-09 22:35:26 -08:00
842b1307c7 Current Progress #3 2019-01-09 02:13:44 -05:00
193361ac32 fix //removenear exception for size < 1 2018-12-29 08:47:57 +01:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
d4157b7e0e Current progress with update 2018-12-23 11:19:33 -05:00
399e0ad5fa Refactor vector system to be cleaner
- Move Vector, etc. into `.math` package
- Drop many methods that will be auto-promoted anyways, eg. with
`divide(int)` and `divide(double)` the first is now gone.
- Take Block vectors into their own class hierarchy
- Make it clear throughout the API what takes blockvectors
- many more improvements
2018-11-03 23:00:23 -07:00
1fa1ff895b Flush or disable buffers in tools 2018-10-20 19:47:17 -07:00
7cf7c0712f fix fixwater/lava + tile paste 2018-10-13 19:50:13 +11:00
39ba616ffa heightmapinterface permission
Heightmapinterface permission added as you can download it on any server
2018-10-04 20:42:43 +02:00
6ae0d3f64e Fixes boy0001/FastAsyncWorldEdit#1099 2018-09-08 01:09:31 +10:00
d99765f13f add min/max args 2018-09-07 06:45:19 +10:00