Thijs Wiefferink
5efe14b8e9
Add up and down direction for '/as stack'
...
Prevents creating regions above and below the world limits, still needs
testing.
Progress for #105
2016-10-24 15:02:49 +02:00
Thijs Wiefferink
839d510151
Switch from Bukkit to Spigot Maven repo since it is down
...
Also switched from Bukkit 1.7.9 to Bukkit 1.8.0 because that is the lowest version available on the Spigot repo
2016-10-17 23:45:08 +02:00
Thijs Wiefferink
9180d9b8ee
Fix small language file issue
...
When you only have a formatting code before a language variable, the hover/click effects will accidentally be applied to one text part earlier
2016-10-16 18:29:26 +02:00
Thijs Wiefferink
7aa786f4ce
Fix default config trying to execute /as message
as player
...
Fixes #221
2016-09-04 22:43:03 +02:00
Thijs Wiefferink
10ea8540e7
Add tab completion for '/as me [player]'
...
Closes #220
2016-09-04 00:59:04 +02:00
Thijs Wiefferink
dba00769f6
Fix problem with line breaks
2016-09-03 20:58:45 +02:00
Thijs Wiefferink
44c70c6a33
Cleanup messages about region that does not exist in WorldGuard
2016-09-03 19:46:05 +02:00
Thijs Wiefferink
570f7b4055
Don't extend rent when using '/as setowner' to set a different owner
...
Also remove new owner from the friends list.
Fixes #219
2016-09-03 19:19:40 +02:00
Thijs Wiefferink
feafa012dd
Fix issue with \n on 1.7.x servers
...
- Each line of a message will now be sent separately instead of using '\n' in the text
- Drastically reduced the number of StringBuilders that are instantiated during message construction
- Fixes #222
2016-09-03 17:22:40 +02:00
Thijs Wiefferink
82b340ce1a
Messages: also parse section signs into color tags properly
...
Fixes line-wrapping removing color in some cases
2016-09-02 21:43:58 +02:00
Thijs Wiefferink
93809f27fc
Rename events to be consistent with commands
...
- AddFriendEvent -> AddedFriendEvent
- DeleteFriendEvent -> DeletedFriendEvent
- RemovedRegionEvent -> DeletedRegionEvent
2016-08-28 22:45:20 +02:00
Thijs Wiefferink
f8ed3654fd
Fix compilation error
2016-08-28 22:31:06 +02:00
Thijs Wiefferink
58a1afccf3
Invert inheritance of RegionEvent and CancellabelRegionEvent/NotifyRegionEvent
2016-08-28 22:29:45 +02:00
Thijs Wiefferink
d9c3573225
Change RegionUpdateEvent to UpdateRegionEvent
...
This breaks plugins using the event
2016-08-28 22:21:33 +02:00
Thijs Wiefferink
1577443203
Generalize events better
...
Adds generic classes for events with a region (BuyRegion, RentRegion or GeneralRegion)
2016-08-28 22:11:17 +02:00
Thijs Wiefferink
ab7a92c57d
Update README.md
2016-08-26 19:49:21 +02:00
Thijs Wiefferink
2e09b0f60f
Update README.md
2016-08-26 19:48:59 +02:00
Thijs Wiefferink
6e5c35f95b
Add extension plugins section
2016-08-26 19:45:37 +02:00
Thijs Wiefferink
066ceedafd
Add 'build' flag by default to prevent inheriting from parent regions.
2016-08-21 22:20:25 +02:00
Thijs Wiefferink
c8ebe24bd3
Put break in '/as info' help message in the right spot
2016-08-19 20:52:07 +02:00
Thijs Wiefferink
ad7db5ee23
Attempt to fix unable to add new players with '/as addfriend'
2016-08-16 22:43:09 +02:00
Thijs Wiefferink
f80a8178ff
Fix formatting not clearing on new lines
2016-08-13 22:28:15 +02:00
Thijs Wiefferink
05c8e1a7e4
Make loggin methods more generic
2016-08-10 16:07:39 +02:00
Thijs Wiefferink
9904805310
Improve version detection of WorldGuard
...
- First detect version 5
- Then detect lower than 6.1.3
- Else check build number:
- Build number exists and lower than 1672: 6
- Build number exists and Is 1672: broken
- Else: 6_1_3
2016-08-09 22:56:21 +02:00
Thijs Wiefferink
0df2f429c0
Only print build number warning if we found it
2016-08-09 22:38:33 +02:00
Thijs Wiefferink
b3408a2648
Fix compilation error and WorldGuard version detection
2016-08-09 21:52:53 +02:00
Thijs Wiefferink
e1f89e7904
Cleanup some leftover logging in an old style
2016-08-08 22:06:31 +02:00
Thijs Wiefferink
064b129205
Change version to 2.3.2 and update languages
...
- Russian has been added
- Spelling errors in French have been corrected
2016-08-07 22:21:57 +02:00
Thijs Wiefferink
8111387f32
Improve friend line of /as me, add click hint
...
Change blue color of hover popup to gold, which will be used as action color
2016-08-07 22:06:09 +02:00
Thijs Wiefferink
a4b23bebba
Improve line of rented regions in info command
2016-08-07 21:49:44 +02:00
Thijs Wiefferink
7421e685fa
Improve robustness of variable replacing in messages
...
- Once the limit is reached the argument replacer would still continue sometimes (if a the replacement itself triggers the limit and the inserted message increases the size of the message we are building and adds a parameter tag again, like %0%)
- The language tag replacer also stops earlier now, it did not have the above problem though
- Fixed FancyMessageFormat.insertMessage() not checking its parameters
- Message.get() with a limit will now return an empty message if the limit is reached to prevent problems like above.
- Closes #205
2016-08-07 00:09:30 +02:00
Christoph Krüger @Androkai
374b68d8fa
Update VaultAPI-repo ( #206 )
...
The url of the Vault Maven repository has changed.
2016-08-06 22:36:26 +02:00
Thijs Wiefferink
ca7a9664f3
Fix error in info command of rental region
2016-08-02 22:27:55 +02:00
Thijs Wiefferink
e957b4fc73
Remove all reflection for sending fancy messages
...
- Reflection removed
- JSON is now fully escaped instead of lenient escaping
- Sending is now done with /tellraw
2016-08-01 21:31:14 +02:00
Thijs Wiefferink
6493bc4f78
Add empty lines if a page does not fill the screen
...
Relevant for commands like `/as info all` that can have pages
2016-08-01 21:28:11 +02:00
Thijs Wiefferink
2db1b6a243
Prevent updater throwing errors sometimes when BukkitDev is offline
2016-08-01 20:46:40 +02:00
Thijs Wiefferink
864662a3c4
Add javadocs to limitgroup inner class and setting methods
2016-08-01 20:23:49 +02:00
Thijs Wiefferink
59b960b87c
Update languages, set version number to 2.3.1
...
- Added German translation
- Added French translation
- Added Norwegian translation
2016-08-01 19:36:50 +02:00
Thijs Wiefferink
2de653d73f
Add automatic conversion of language files downloaded from Transifex
2016-08-01 18:03:09 +02:00
Thijs Wiefferink
4feee59834
Cleanup info and warning messages.
2016-08-01 16:18:05 +02:00
Thijs Wiefferink
816d136a62
Change version number to 2.3.0, update languages
...
- Only English and Dutch are available yet
2016-07-24 21:48:39 +02:00
Thijs Wiefferink
121de7dc7e
Add build number option to Maven
...
- Build number option can be used by Jenkins to add the build number
- Build number of soruce on Github will be #CUSTOM to mark custom builds
- Release versions will not contain a build number
- Closes #185
2016-07-24 20:59:25 +02:00
Thijs Wiefferink
f7c86881cc
Fix the default flagProfiles settings, fix migration issues.
2016-07-24 20:25:58 +02:00
Thijs Wiefferink
351d51b664
Correct message for reselling region entries.
2016-07-23 19:31:45 +02:00
Thijs Wiefferink
5a28476cf0
Add better limits for messages
...
- Recursive replacements are handled by catching stackoverflow exceptions
- Messages are limited 30000 in length for the produced JSON string since the client cannot handle more
- Error message print out the message key and start of the message
2016-07-23 17:21:08 +02:00
Thijs Wiefferink
8143bdae27
Add pages to the /as info
command to prevent crashes
...
- Output displayed in pages of 18 (+ header and footer it fills the max of 20 you can see without scrolling)
- Footer shows current and max page, and has buttons to go to next/previous
- Commands accept [group] [page] both as optional arguments, works because page is a number (number as group would be weird)
- Entries show basic info about regions (owner/price/duration), and of course can be clicked to show all info
- Made debug command more generic
- Closes #172
2016-07-23 02:57:31 +02:00
Thijs Wiefferink
b62744fe10
Add warnings for missing settings in limit groups.
...
Closes #164
2016-07-21 23:00:19 +02:00
Thijs Wiefferink
fe0b63c760
Remove incorrect check
2016-07-17 23:51:24 +02:00
Thijs Wiefferink
def774c7a1
Link javadoc of external classes properly
...
Classes of Bukkit, WorldGuard and WorldEdit that appear in the javadoc now link to the javadoc of them.
2016-06-27 23:38:44 +02:00
Thijs Wiefferink
7c5cb5f5aa
Add javadoc to getApplicableRegions methods
2016-06-27 23:16:21 +02:00