Commit Graph

152 Commits

Author SHA1 Message Date
Shevchik
fd5776dd15 Remove pointless things, i will rewrite config later 2013-12-11 15:53:56 +04:00
Shevchik
bc9a4bca41 Unsit player on move 2013-12-11 15:51:34 +04:00
Shevchik
7dedc538a9 Remove deprecated data 2013-12-11 15:37:52 +04:00
Shevchik
3f60b5ee27 Rewrite packet listener 2013-12-11 15:35:02 +04:00
Shevchik
b114b13902 Update wghook 2013-12-11 15:23:20 +04:00
Shevchik
d14172203c Remove sit stop location correction 2013-12-11 15:15:00 +04:00
Shevchik
bafc260459 Add worldguard integration 2013-11-22 12:41:17 +04:00
Shevchik
554e8d13cf Ignore if anything in hand 2013-11-17 00:18:27 +04:00
Shevchik
3e875af7de Remove some debug stuff 2013-11-14 16:55:28 +04:00
Shevchik
38c681864a Pointless 2013-11-14 16:53:23 +04:00
Shevchik
16fce317a1 Unsit player on teleport 2013-11-14 16:43:24 +04:00
Shevchik
6f077baebd Add default permissions to plugin.yml 2013-10-05 11:57:30 +04:00
Shevchik
b420e44ff8 Move additional permission check 2013-09-30 13:01:20 +04:00
Shevchik
e86a0ccbae Remove unused import 2013-09-30 12:33:09 +04:00
Shevchik
184ed22422 Properly name methods 2013-09-30 12:27:16 +04:00
Shevchik
782af5a9da Remove the rest of not used permissions 2013-09-30 11:27:31 +04:00
Shevchik
ddb244d477 Prevent NaN inside arrow 2013-09-30 11:25:33 +04:00
Shevchik
8d64101d11 Remove permissions from code, we will add them to plugin.yml 2013-09-30 11:21:58 +04:00
Shevchik
32e28b1695 Restore player unsit locations after plugin reload 2013-09-06 03:34:01 +04:00
Shevchik
f60e22b414 Set version 3.0.2 2013-09-06 03:20:52 +04:00
Shevchik
97b36e3c24 add comment 2013-09-05 19:22:22 +04:00
Shevchik
8f8fcd26cb Fix half blocks height adjust 2013-09-05 11:50:55 +04:00
Shevchik
13c454775a Correctly fix sneaking problem 2013-09-04 16:05:55 +04:00
Shevchik
99559b0540 Fix sit allowed check 2013-09-04 16:04:23 +04:00
Shevchik
0f02344bba unsneak player after stopped sitting 2013-09-04 16:01:06 +04:00
Shevchik
13fe6859f8 Remove unused value 2013-09-04 15:48:48 +04:00
Shevchik
6eae9eb644 Save player location if he quit sitting on chair and restore it on join 2013-09-04 15:23:33 +04:00
Shevchik
8da5322de5 Another small refactor 2013-09-03 21:53:08 +04:00
Shevchik
b88af8e96f Small refactor 2013-09-03 21:35:54 +04:00
Shevchik
4d9ae43d0c For now always check if sit is occupied otherwise it can glitch like hell 2013-09-03 21:25:46 +04:00
Shevchik
3177a63ba2 Improve authme login location fix 2013-09-03 21:21:31 +04:00
Shevchik
cfe5ca1674 Refactor this all 2013-09-03 01:57:50 +04:00
Shevchik
e5ce4c0f8c Small code cleaning 2013-09-03 01:28:12 +04:00
Shevchik
401aacaf3a Remove spaces. Remove no needed code. 2013-09-03 01:06:21 +04:00
Shevchik
db0fc55432 Correctly unregister protocollib listeners on reload. 2013-09-02 20:56:28 +04:00
Shevchik
9bdae16641 Set version 3.0.1 2013-09-02 10:07:32 +04:00
Shevchik
a4d4c1fe62 5 seconds is enough here 2013-09-02 10:05:57 +04:00
Shevchik
45f715b786 Add authme login location correction
If enabled it will teleport player home or to spawn if his location is
invalid.
2013-09-02 09:59:57 +04:00
Shevchik
fe81cd81e1 Correct name. COrrect resit timers. We should listen onQuit first 2013-09-02 09:39:05 +04:00
Shevchik
30d8b724b9 Finally i got this working.
No more falling through chairs. And even if you fall no Nope kick after
dismount.
2013-09-01 21:00:49 +04:00
Shevchik
a6ea5efac6 Add myself as plugin author, i think i deserve this 2013-09-01 20:00:41 +04:00
Shevchik
f5781022b4 Just resit player every 1150 ticks, that solves this problem.
Finally!!!! This is done.
2013-09-01 19:58:23 +04:00
Shevchik
96b169b7cc Remove unused variables from config 2013-09-01 19:11:33 +04:00
Shevchik
5ac4121046 Remove unused import. 2013-09-01 17:38:13 +04:00
Shevchik
661397bd46 Change logger. Correct eject on plugin disable. 2013-09-01 17:36:57 +04:00
Shevchik
05b697c911 Remove unused import. 2013-09-01 17:21:24 +04:00
Shevchik
526f785677 Refactor 2013-09-01 17:17:43 +04:00
Shevchik
c4386ab262 Move sit method 2013-09-01 16:59:58 +04:00
Shevchik
ad3e1b7991 Remove debug 2013-09-01 16:54:44 +04:00
Shevchik
b0f874fd26 Teleport player to location where he was before sitting when he unsits. 2013-09-01 16:32:21 +04:00
Shevchik
c110202161 Move eject code 2013-09-01 16:10:18 +04:00
Shevchik
244a453390 remove unused line of code 2013-09-01 16:04:30 +04:00
Shevchik
1fd11f4fb9 Move unSit to main plugin class. 2013-09-01 15:53:03 +04:00
Shevchik
699d7a5ec3 Unsit player on quit 2013-09-01 15:43:26 +04:00
Shevchik
ccfa75c16f 100% less NMS 2013-09-01 15:27:01 +04:00
Shevchik
c3e6bb68a9 No need for NMS here. 2013-09-01 15:23:30 +04:00
Shevchik
a4bb3c50dd Fix sit occupied check. Add sit break check. 2013-09-01 15:17:52 +04:00
Shevchik
05b19edd5c Correctly unSit the player 2013-09-01 14:39:11 +04:00
Shevchik
eaeb4e0ba4 Remove debug 2013-09-01 08:25:24 +04:00
Shevchik
58af513121 Remove something that we no longer use. 2013-09-01 08:24:04 +04:00
Shevchik
ac462ab278 This works better, but still strange. 2013-09-01 08:14:57 +04:00
Shevchik
5147416dc9 That works, but DAFUQ? 2013-09-01 08:05:17 +04:00
cnaude
b919975d1c Switch to arrow method 2013-07-14 17:55:31 -07:00
cnaude
1dabe40aad Switch to arrow method 2013-07-14 16:55:03 -07:00
cnaude
2cb04a92f8 Only check damage values for non stairs. 2013-07-10 22:57:22 -07:00
cnaude
c3e86c67d8 Only check damage values for non stairs. 2013-07-08 22:06:40 -07:00
Chris Naude
ed62a24d51 Remove debug code. 2013-07-08 16:20:32 -07:00
cnaude
e1d69b75d0 Only check damage values for non stairs. 2013-07-07 22:38:51 -07:00
cnaude
b3e9003c35 Add support for CraftBukkit 1.6.1. 2013-07-01 21:36:01 -07:00
cnaude
4cc71ae667 Fix casting error. 2013-07-01 21:19:29 -07:00
cnaude
e659eca5be Fix reload command. 2013-06-27 21:44:07 -07:00
cnaude
2566addf8d Fix issues with wooden steps.
Add option to select blocks by data value.
2013-06-27 21:24:28 -07:00
cnaude
0c36d138b9 Code refactoring.
Add website to plugin.yml
2013-06-23 13:16:47 -07:00
cnaude
68c429a361 Make ProtocolLib optional. 2013-05-15 18:43:11 -07:00
cnaude
525e5e58b4 Make ProtocolLib optional. 2013-05-15 18:38:58 -07:00
cnaude
a874053dee Documentation fix. 2013-05-06 07:34:17 -07:00
cnaude
388a27b475 Prevent sign/frame check from running away. 2013-04-29 23:18:38 -07:00
cnaude
40d7a8b6ab Fix ignore-if-block-in-hand issue with empty hand counting as a air block
Replace Timers with Bukkit schedulers
Some refactoring optimizations
Add quartz stairs to default config
2013-04-04 21:32:16 -07:00
cnaude
8954be85a1 Fix ignore-if-block-in-hand issue with empty hand counting as a air block
Replace Timers with Bukkit schedulers
Some refactoring optimizations
2013-04-04 21:31:22 -07:00
cnaude
e135df1c62 Replace Timers with Bukkit schedulers 2013-04-04 20:48:56 -07:00
cnaude
d97c1adaf0 Fix issue with players falling through the ground after logout. 2013-03-31 14:44:50 -07:00
cnaude
4144e06170 Remove CraftBukkit dependency.
Add ProtocolLib dependency.
2013-03-30 10:23:18 -07:00
cnaude
7c9668f862 Remove CraftBukkit dependency.
Add ProtocolLib dependency.
2013-03-30 10:17:58 -07:00
cnaude
7b8dba06e8 Add ignore-if-block-in-hand option. 2013-03-25 22:38:03 -07:00
cnaude
4537a5caa3 Add configurable messages. 2013-03-23 22:50:17 -07:00
cnaude
db1912445e Added healing while sitting.
Updated for CB1.5.0-R0.1
2013-03-15 13:55:09 -07:00
cnaude
268ec403c1 Fixed chair width check.
Fixed chair sign check.
2013-03-01 13:11:43 -07:00
cnaude
358df624e9 Fixed chair width check.
Fixed chair sign check.
2013-03-01 13:11:00 -07:00
cnaude
1a3c217284 Added per item sitting height
Added sitting-height-adj option (non-stairs non-steps)
2013-02-24 11:24:22 -07:00
cnaude
896487cfce Some code cleanup (removed old NMS code)
Add item frames to work the same way signs do.
2013-02-03 17:19:49 -07:00
cnaude
34920d7cee * Fixed ClassCastException when non stair is next to a stair.
* Added /chairs [off|on]  - Allows players to individually disable or enable chairs for themselves.
2013-01-04 19:38:11 -07:00
cnaude
311f090934 Added the off on command 2013-01-01 18:35:17 -07:00
cnaude
d29b5e195a Add ops-override-perms to the config. 2012-12-25 11:47:52 -07:00
cnaude
f5430b9101 Update for 1.4.6-R1.0. 2012-12-23 00:24:06 -07:00
cnaude
73dd820949 Update CB 1.4.5-R1.0
Added chairs.sit.[item] perm node
Added ability to use item numbers instead of item names.
2012-12-19 07:40:24 -07:00
cnaude
7417e2cb8c Description update. 2012-11-24 16:25:18 -07:00
cnaude
aef19e5d2b Remove players from sit list after they log off.
Add chair break event check.
2012-11-24 16:19:48 -07:00
cnaude
edf2434b30 Properly check for stair type.
Add upside down chair sit prevention
2012-11-23 01:39:10 -07:00
cnaude
53ec8b02db Switched from Item.passenger mode to PacketGenerator mode. 2012-11-20 19:17:15 -07:00
cnaude
e9cd29c816 Switched from Item.passenger mode to PacketGenerator mode. 2012-11-20 19:05:35 -07:00