191 Commits

Author SHA1 Message Date
rubenwardy
cf95dea033 Fix infinite recursion in ctf_chat handler 2019-07-03 06:16:14 +01:00
ANAND
26f496aced
Remove chatplus leftovers (#36) 2019-05-01 12:01:11 +05:30
ANAND
719ab291ce
ctf_chat: Add missing priv check in default chat message handler 2019-04-30 20:03:48 +05:30
ANAND
48545e39e8 Fix on_killedplayer callbacks running when victim has already died 2019-04-11 19:26:00 +01:00
ANAND
8f341538f4
Add custom autoalloc mode (#30)
Adds a new alloc_mode 4. Setting config key `allocate_mode` to 4 will make `ctf.autoalloc` invoke `ctf.custom_alloc`. If unimplemented, `ctf.custom_alloc` will throw an error when invoked.
2019-04-09 19:37:31 +05:30
ANAND
3d5421ae7c
Make ctf_colors.get_color return a table (#35)
- The table includes the following fields:
  - `text`: Name of the color. e.g. `"red"`
  - `hex`: Hex-formatted color. e.g. `"0x00FFFF"`
  - `css`: CSS-style hex format. e.g. `"#FFFF00"`
2019-04-09 13:54:07 +05:30
rubenwardy
93ba341695 Add ctf.chat_send_team 2019-03-22 03:20:31 +00:00
rubenwardy
0f70e755d4 ctf_colors: Split skin code from update to allow overriding 2019-03-22 01:40:04 +00:00
rubenwardy
48f309ee1d Add support for colored chat without chatplus 2019-01-06 00:02:14 +00:00
ClobberXD
1c373b663b Pass wielded to on_killedplayer callbacks instead of hard-coded type 2018-12-31 12:36:26 +00:00
ClobberXD
d341978b90
Replace deprecated setting_* methods (#27) 2018-11-30 16:25:42 +05:30
ClobberXD
6f5bcd05d6 Remove unused arg from ctf_colors.get_color and ctf_colors.get_irc_color 2018-11-29 15:53:10 +00:00
ClobberXD
e7d5044afb Add support for separating static spawn-point from team-base 2018-11-11 20:24:37 +00:00
Coder12a
7f4ad1d213 Replace flag abm with node timer 2018-11-11 20:23:40 +00:00
Gaël C
aa12c0d2f7 Prevent players from switching teams 2018-03-31 21:44:58 +01:00
rubenwardy
e2a59cef6e Fix duplicated hud waypoints
Breaks multiple flag support
2018-01-21 22:21:33 +00:00
rubenwardy
87d0438db6 Remove nametag coloring 2018-01-21 20:39:59 +00:00
rubenwardy
8b12a8e4f1 Disable vulnerable code 2018-01-02 20:58:39 +00:00
rubenwardy
40c84728d4 Change color to right angled brackets 2018-01-02 20:56:04 +00:00
rubenwardy
8ffdefa908 Color teamname not username in team chat 2018-01-02 18:20:33 +00:00
rubenwardy
c56d3c84c1 Add colored names to IRC 2018-01-02 17:30:32 +00:00
rubenwardy
2601a44b0e Extend flag no build area to include floor 2017-11-12 01:41:18 +00:00
rubenwardy
9a10f60e97 Fix mistakes 2017-11-08 00:53:01 +00:00
rubenwardy
3f552c3ef8 Add chatcmdbuilder 2017-11-07 22:50:49 +00:00
rubenwardy
730f0906de Improve prompt HUD messages 2017-10-12 17:19:30 +01:00
rubenwardy
6dd85f8c91 Add hud tint to show team membership 2017-10-12 15:24:56 +01:00
rubenwardy
4abfda056f Fix typo 2017-10-10 22:57:33 +01:00
rubenwardy
254d147bb2 Add team locking 2017-10-10 22:40:23 +01:00
rubenwardy
5769d446ab Add bulk join command 2017-10-10 22:32:03 +01:00
rubenwardy
e05950d087 Add chat colors to player names 2017-10-06 00:18:56 +01:00
rubenwardy
14452ddcd4 Correct typo: nubetest -> minetest
Thanks to @asl97
2016-11-23 21:26:18 +00:00
rubenwardy
80c47dd99b Add missing ctf.needs_save sets 2016-11-12 15:40:50 +00:00
Elkien3
327758e873 add a nice inventory image to flag (#12) 2016-11-01 23:26:09 +00:00
Elkien3
dcfcb37527 Add craft recipe for flag 2016-06-02 21:34:46 +01:00
Elkien3
4337e0e2dd Give flag deleter ctf_flag:flag 2016-06-01 18:19:12 +01:00
Elkien3
d68620234d Add skin for each color 2016-05-19 22:51:42 +01:00
rubenwardy
89c1c20b88 Add missing setting details 2016-05-19 22:36:55 +01:00
rubenwardy
87b345580a Add settings documentation 2016-05-19 22:31:53 +01:00
rubenwardy
c54d7e2bbc Correct typo causing war declaring to fail 2016-05-19 22:04:13 +01:00
rubenwardy
ae9c820e03 Send team chat to private IRC channel 2016-04-08 17:58:26 +01:00
rubenwardy
aa6cef7a39 Check for grenade 2016-04-06 00:11:10 +01:00
rubenwardy
f3379d0dfd Allow friendly fire if you're killing yourself 2016-04-05 23:18:08 +01:00
rubenwardy
f3d2dc934a Update hudkit 2016-04-05 19:42:55 +01:00
rubenwardy
d92650158d Fix on_killedplayer being called multiple times 2016-04-05 17:25:11 +01:00
rubenwardy
f1bc56f4cd Give kill type to on_killedplayer, and fix crash in ctf_colors.get_color() 2016-04-05 17:15:59 +01:00
rubenwardy
386d72965e Add documentation of data storage 2016-04-05 02:53:37 +01:00
rubenwardy
4d225d61d5 Change nametag color on capture 2016-04-05 02:34:44 +01:00
rubenwardy
1cfb4ae8ef Respond on failed /team requests 2016-03-31 18:52:48 +01:00
rubenwardy
5731eba276 Use background[ instead of image[ in ctf/gui.lua 2016-03-31 18:50:34 +01:00
rubenwardy
2921e509a4 Add some documentation 2016-03-31 18:04:48 +01:00