Commit Graph

733 Commits

Author SHA1 Message Date
Ben Woo
d93def8b5b
Merge pull request #2503 from Multiverse/getplayerexact
Use getPlayerExact in favour of getPlayer.
2020-12-14 10:28:58 +08:00
benwoo1110
425b1c80cc Update to all use static logging. 2020-12-12 10:49:49 +08:00
Kermina Awad
47ae6f5378 use getPlayerExact instead of getPlayer 2020-12-11 12:48:19 -05:00
Alexander Krantz
ed80083fe8
Fix null location when teleporting to own playerbed destination. (#2487)
* Fix teleporting to a the calling player's bed

* Change name to my-bed to prevent collisions with player names

* Re-add old player bed for backwards compatibility

* Remove second bed destination name

* Give constant more sensible name
2020-11-27 12:58:11 +08:00
Jeremy Wood
115b0dc078 Dump full version output in multifile pastes. 2020-10-07 23:52:43 -04:00
Kermina Awad
e31c391af4 correct a typo in VersionCommand 2020-10-07 23:15:21 -04:00
Jeremy Wood
6ed4be9a64 Move back to '\n' line separators in version command. 2020-10-07 23:12:50 -04:00
Jeremy Wood
d626e7e4b1
Merge pull request #2429 from benwoo1110/green-warning
More noticable warning for deprecated event
2020-10-07 22:41:54 -04:00
Jeremy Wood
e7dd4fee51
Merge pull request #2430 from benwoo1110/clone-cleanup
Remove uneeded variables from clone method
2020-10-07 22:41:01 -04:00
Ben Woo
146075de69
Loads unloaded world before deleting (#2431)
* Loads unload world before deleting

Fixes issue where unloaded worlds can't be deleted.

* Missing commit line smh
2020-10-07 22:38:45 -04:00
Jeremy Wood
9fce6c54f6
Merge pull request #2435 from Multiverse/webpaste
Fix Double Prefix when Logging Version Info
2020-10-07 22:37:22 -04:00
Kermina Awad
2d4fe301cf fix double prefix when logging version info 2020-10-06 16:26:20 -04:00
Jeremy Wood
864e50e38c Add TestingMode util. 2020-10-06 15:07:56 -04:00
benwoo1110
b345baf20e Remove uneeded variables from clone method 2020-10-06 21:12:18 +08:00
benwoo1110
d532052c7b More noticable warning for deprecated event
Add green color to the warning
2020-10-06 20:47:41 +08:00
Kermina Awad
994bf922af make it easier to upload files with the version event 2020-10-06 00:47:33 -04:00
Ben Woo
36094e2bea
Disallow world names with spaces (#2393)
* Disallowed world names with spaces

* Fixed wildcard imports

* Use Pattern regex check for worldname validation

Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-10-05 23:58:18 -04:00
Jeremy Wood
c1a3d48944
Merge pull request #2420 from benwoo1110/plugin.yml-update
Updated plugin.yml commands and some missing alias
2020-10-05 01:34:31 -04:00
nicegamer7
75855826e7
Cleanup webpaste code (#2411) 2020-10-05 01:25:15 -04:00
Jeremy Wood
d35363b10c
Merge pull request #2103 from blubberdiblub/make-saved-anchors-locale-insensitive
Ensure anchors are saved in a machine-readable way
2020-10-05 00:36:19 -04:00
Jeremy Wood
ad1b733498
Merge pull request #2379 from rti/master
load cloned world with doLoad() instead of addWorld() (fixes #2378)
2020-10-05 00:29:25 -04:00
benwoo1110
9159dfbb7d Updated plugin.yml commands and some missing alias 2020-10-05 00:28:48 +08:00
Robert Timm
b8acd339b3 load cloned world with doLoad() instead of addWorld() (fixes #2378) 2020-10-02 10:01:54 +02:00
nicegamer7
51e035eb3e
Update GameMode command and increase Java support. (#2279)
* update gamerule command

* fix NPE in gamerules command and remove deprecated method

* catch buscript initialization errors

* update gamerule command to be more descriptive

* undo GameruleCommand style changes

* update legacy version reporting to include all config options

* use LF line ending for files being pasted to the web

* avoid duplicate code
2020-09-22 15:02:03 -04:00
benwoo1110
e1494808f3
Fixed inability to clone due to unable to copy session.lock (#2392)
* Added ability to exclude files when copying folders

* Remove wildcard imports

* Added unit testing for ignoring files as well

Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-08-27 08:47:57 -04:00
Jeremy Wood
242f05fc77
Merge pull request #2288 from Multiverse/webpaste
Rework Webpaste Package
2020-07-28 20:50:08 -04:00
Kermina Awad
d5013546d1 don't report generator settings 2020-06-29 11:40:01 -04:00
Kermina Awad
058c0837f0 bring multi-file pastes to parity with single file pastes 2020-06-14 16:04:58 -04:00
Kermina Awad
e01c646562 add paste.gg paste service 2020-06-14 16:04:17 -04:00
Kermina Awad
94ca18e95c correct some metrics 2020-06-13 14:20:36 -04:00
Kermina Awad
707eae92a8 improve javadocs, also, no need to make implementations public 2020-06-13 10:36:30 -04:00
Kermina Awad
b4a4519876 no need for protected access modifier 2020-06-13 10:36:25 -04:00
Kermina Awad
4f41b7aa6e rework webpaste package 2020-06-13 10:36:21 -04:00
Kermina Awad
b9267a3dfc update version command description 2020-06-13 10:36:16 -04:00
Kermina Awad
a53c4214f0 add extra space for readability 2020-06-13 10:36:08 -04:00
Kermina Awad
343695e23e add notice as to why pasting to GitHub is disabled 2020-06-13 10:36:04 -04:00
Kermina Awad
e17e9c8ce9 rename GithubPasteService as GitHubPasteService 2020-06-13 10:36:00 -04:00
Kermina Awad
676c3a2e3d make pasting more system agnostic 2020-06-13 10:35:58 -04:00
Kermina Awad
e821611744 fix pasting to hastebin 2020-06-13 10:35:55 -04:00
Kermina Awad
d69c492577 cleanup GitHub and Pastebin paste services 2020-06-13 10:35:53 -04:00
Kermina Awad
eb91eefc80 fix BitlyURLShortener 2020-06-13 10:35:49 -04:00
Kermina Awad
f570c81366 update version command 2020-06-13 10:35:47 -04:00
Jeremy Wood
b3f23278b1 Yay for tests that use method names in strings. -.- 2020-06-13 02:01:41 -04:00
Jeremy Wood
582d6bef1a Readd world count metric as multiline chart (for future use). 2020-06-13 01:17:00 -04:00
Jeremy Wood
04c65cc59e
Cleanup new metrics implementation. (#2286)
* Refactor metrics initialization into its own class.

* Simplify the creation of metrics.

* Clean up new metrics.

* Refactor out duplicate metrics code.
2020-06-13 00:51:18 -04:00
Kermina Awad
268c4982c3 update metric implementations 2020-06-12 23:50:17 -04:00
Kermina Awad
4894abd1f1 switch to bStats 2020-06-06 13:36:53 -04:00
Jeremy Wood
59cfacf007
Merge pull request #2227 from A248/patch-1
Fix NPE for invalid world argument in gamerule cmd
2020-05-05 21:19:42 -04:00
wellnesscookie
c70e254dbf
Fixes alias not clearing after cloning the world
This will rather set an alias to an empty string which will automatically be resulted in alias being as same as the name of the cloned world.
Previously, it was not working as intended and kept the alias of the oldWorld.
2020-04-30 20:43:11 +02:00
A248
9d42a05759
Fix NPE for invalid world argument in gamerule cmd
Stumbled upon an NPE when using /mv gamerule. I realised it was because I had specified a nonexistent world. This will fix it.
2020-04-16 18:31:23 -04:00