Commit Graph

25 Commits

Author SHA1 Message Date
4e49d16505 fix dependencies 2019-08-26 05:45:03 +01:00
ff5860113d It started on work with commands then I got carried away. 2019-07-25 14:44:10 -04:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
d0a31691e1 Small changes 2019-06-26 20:14:00 -04:00
a7c5580db3 comment out forced key 2019-04-11 11:19:51 +10:00
2143b9b5b7 finish block registry 2019-04-05 17:51:42 +11:00
94d5d8df8e Merge branch 'master' into breaking 2019-04-05 15:47:04 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
29692f3fbe Migrate to SLF4J 2019-04-02 18:21:02 -04:00
1934006d14 Better enforce the Request lifetime.
Previously, the current request would just get a new EditSession when
one was created. Now, a Request is reset before and after:
 - a command is used and
 - an interact is fired with the platform
This means each action taken will get a single, non-reusable Request.

Note that this only applies to actions taken through the platform.
API users will not be using requests anyway, since things like Masks,
etc. will be constructed directly instead of being passed through the
platform's parsers and so on. (e.g. if a plugin loads a schematic into
the world with a mask, they should create the EditSession and mask it
directly, and not use that Mask again for another EditSession in another
World).

Also, get rid of a bunch of (some now-)unnecessary EditSession creation
during command dispatching.

Note that this also fixed the dynamic selection mask, which apparently
has been broken for some unknown amount of time.
2019-03-20 19:13:54 -04:00
d6804737cf Switch to SLF4J logging. 2019-03-13 19:51:48 -07:00
1c5d3368a0 Defer permissions check when making LocalSession.
Also use Java7 Paths to get rid of some funky logic.
2019-03-11 21:31:43 -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
8e18ecb645 Merge pull request #330 from Europia79/vpcmdfix
Fixes issue 3315 with VirtualPlayers
2018-11-24 13:16:56 +10:00
b24d322d29 Update from sk89q/master 2018-09-03 00:10:38 +10:00
c931095736 Little bit of formatting 2018-08-27 17:24:18 +10:00
4d0df10f88 Fixed sessions not saving on shutdown 2018-08-19 13:01:08 +10:00
e7c27b08bf Remove stub injector methods 2018-08-13 02:36:39 +10:00
a629d15c74 Copy paste/merge FAWE classes to this WorldEdit fork
- so certain people can look at the diff and complain about my sloppy code :(

Signed-off-by: Jesse Boyd <jessepaleg@gmail.com>
2018-08-13 00:03:07 +10:00
1480606b52 Fixed a few more issues found looking over the changeset. 2018-08-04 11:43:42 +10:00
663dd1f4d8 Added an entity, weathertype, and gamemode registry. 2018-08-04 11:43:41 +10:00
aaaf2d5678 More deprecation removal 2018-08-04 11:43:38 +10:00
780b391987 Updated comment to reflect code changes 2015-06-26 00:09:09 -05:00
eb43018ae2 Fixes issue 3315 with VirtualPlayers
http://youtrack.sk89q.com/issue/WORLDEDIT-3315
2015-06-25 22:38:00 -05:00
7192780251 Switch to Gradle. Use git log --follow for history.
This converts the project into a multi-module Gradle build.

By default, Git does not show history past a rename, so use git log
--follow to see further history.
2014-11-14 11:27:39 -08:00