Commit Graph

101 Commits

Author SHA1 Message Date
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
1eb4c76265 Manual update due to conflict (part 3)
This adds part of PR #4 and they came from inpos/areas repo, author for the changes is inpos.
2018-02-17 02:19:48 +08:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
132b5289db Manual update due to conflict (part 2)
This adds part of PR #4 and they came from inpos/areas repo, this adds i18n : intllib po/pot method and french translation. Author is fat115
2018-02-17 02:18:30 +08:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
a23d2bad3a Manual update due to conflict
This adds part of PR #4 and they came from inpos/areas repo, author for the changes is ElementW.
2018-02-17 01:34:29 +08:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
41bba581a2
Add improvements by taikedz and EdwardThorsten
* add protector blocks to hud
* change from unknown source
* add mod explicit name
* Add handler for other mods to advise protection
  * Allow other mods to register a handler to display protected areas in the hud
  * remove the protector mod specific code from this areas code
* support non-numeric IDs
* adjusted handler registration name
* add API documentation for modding extension
* rename to explicit variables
* De-couple from original code
  * `api.lua` create separate handler for listing registered nodes, leave the areas list clean
  * `hud.lua` call second handler separately
  * `api.md` extended and clarified documentaion
* fixed typo in documentation
* ignore vim cache files
* adjust handler registration function name
* reinstate the format string unsigned int]
* reverting auth change
* restore code style, adjust further style
* added space for stylistic imrpovement
* stylistic fixes etc
* Merge branch 'master' of https://github.com/ShadowNinja/areas
  *Merge ShadowNinja's version
* Cleaning up deprecated calls.
* Merge pull request #1 from EdwardThorsten/master
  *Cleaning up deprecated calls.
2018-02-17 00:19:58 +08:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
86a7b76be4
Improvements from alexerate
* update player location when protected
* function anti_lag added
* Add delay for anti_lag
* remove obsolete code
* localization
* utf-8
* make self_protection true by default
2018-02-17 00:10:01 +08:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
2095ec98fd
Improvement from red-001
Use the new `minetest.safe_file_write` API if possible when saving database.
2018-02-17 00:04:32 +08:00
alexerate
93df2f3605 make self_protection true by default 2018-02-07 18:07:40 +01:00
alexerate
a9b954399e utf-8 2018-02-06 20:23:17 +01:00
alexerate
52011bdfa4 localisation 2018-02-06 15:15:32 +01:00
alexerate
599d9350bb remove obsolet code 2018-02-06 14:02:07 +01:00
alexerate
0b96f75d65 Add delay for anti_lag 2018-02-05 23:52:01 +01:00
alexerate
b0de983ffb function anti_lag added 2018-02-05 23:49:18 +01:00
alexerate
6cad881b6f update player location
update player location when protected
2018-02-05 18:17:53 +01:00
red-001
d90fa7355c
Use the new minetest.safe_file_write API if possible when saving database. 2018-02-04 16:30:41 +00:00
Tai Kedzierski
0ec2755c59 Merge pull request #1 from EdwardThorsten/master
Cleaning up deprecated calls.
2017-10-02 09:07:07 +01:00
anonymous
ebc6f8b11b Cleaning up deprecated calls. 2017-10-02 03:14:16 +01:00
AntumDeluge
289d0e623c Update usage of settings API 2017-06-09 13:00:12 -04:00
Jordan Irwin
d3d43d9511 Reference 'settings.lua' instead of 'config.lua' (#21) 2017-05-06 13:41:45 -04:00
Tai @ Flex
767d8ff348 Merge branch 'master' of https://github.com/ShadowNinja/areas
Merge ShadowNinja's version
2016-12-19 16:42:46 +00:00
Tai @ Flex
5349738fc6 stylistic fixes etc 2016-12-19 16:40:42 +00:00
Tai @ Flex
6080ff065e Add API for adding areas to HUD 2016-12-19 16:36:37 +00:00
ShadowNinja
23f81f6278 Add mod.conf 2016-12-04 04:12:27 +00:00
Tai @ Flex
ea0d14d312 added space for stylistic imrpovement 2016-11-28 22:51:47 +08:00
Tai @ Flex
9fc3583509 restore code style, adjust further style 2016-11-28 22:40:00 +08:00
Tai @ Flex
bb10d0c9f3 reverting auth change 2016-11-28 22:38:14 +08:00
Tai @ Flex
64ec6ff68f reinstate the format string unsigned int] 2016-11-28 22:37:01 +08:00
Tai @ Flex
812917fca2 adjust handler registration function name 2016-11-28 19:00:01 +08:00
Tai @ Flex
83dcc44794 ignore vim cache files 2016-11-28 18:59:16 +08:00
Tai @ Flex
73cb4c422d fixed typo in documentation 2016-11-28 18:57:49 +08:00
Tai @ Flex
60d7a41c8c De-couple from original code
* `api.lua` create separate handler for listing registered nodes, leave the areas list clean
* `hud.lua` call second handler separately
* `api.md` extended and clarified documentaion
2016-11-26 13:48:48 +00:00
Tai @ Flex
4eda120fc1 rename to explicit variables 2016-11-26 13:27:15 +00:00
Tai @ Flex
70ed7e34a0 add API documentation for modding extension 2016-11-26 12:33:27 +00:00
Tai @ Flex
77a30f9e05 commentary 2016-11-26 12:32:11 +00:00
Tai @ Flex
6708c966ca adjusted handler registration name 2016-11-26 12:23:46 +00:00
Tai @ Flex
e4ac30b7ff support non-numeric IDs 2016-11-26 12:15:59 +00:00
Tai @ Flex
dedd0ebf6e Add handler for other mods to advise protection
* Allow other mods to register a handler to display protected areas in the hud
* remove the protector mod specific code from this areas code
2016-11-26 12:14:30 +00:00
Tai @ Flex
e1e719b1d6 add mod explicit name 2016-11-26 12:13:33 +00:00
Tai @ Flex
2f802bf780 change from unknown source 2016-11-26 07:20:26 +00:00
Tai @ Flex
45afbfe8a6 add protector blocks to hud 2016-11-26 07:20:23 +00:00
Dorian Wouters
7cb8787beb Use get_auth_handler().get_auth() instead of auth_table
minetest.auth_table is an implementation detail of the default auth handler.
No guarantee is made that it even exists and using this table directly is incompatible
with custom auth handlers.  Instead, use the proper auth handler API.
2016-09-03 21:05:52 -04:00
paly2
67507c7591 Fix move_area not updating AreaStore 2016-06-23 15:49:22 -04:00
ShadowNinja
10338cd5d1 Minor isSubarea optimization 2015-10-30 20:31:24 -04:00
est31
8b0b8c1ad2 Add support for the AreaStore API 2015-10-29 16:49:35 -04:00
est31
177f659f4e Add area_info command 2015-03-01 17:31:41 -05:00
ShadowNinja
0cda67f5c1 Use the HUD alignment field instead of manually calculating offset 2015-01-07 18:31:59 -05:00
ShadowNinja
3f777900d4 Simplify settings definitions and namespace settings 2014-11-17 21:16:59 -05:00
ShadowNinja
e4aef02cb9 Add areas_high_limit privilege for trusted players 2014-11-14 13:21:09 -05:00
ShadowNinja
fe52664043 Add move_area command 2014-11-11 17:27:35 -05:00
ShadowNinja
3666f7debb Tweak README 2014-10-25 14:00:19 -04:00
ShadowNinja
21c9e6a4c0 Make HUD area list multi-line 2014-10-13 20:32:02 -04:00