Commit Graph

61 Commits

Author SHA1 Message Date
luk3yx 1c68a63b24 Add min_minetest_version to mod.conf 2020-11-23 18:11:57 +13:00
luk3yx 6797b58287 Remove unrequired code 2020-10-14 22:25:38 +13:00
luk3yx bc72b81812 Update license URL 2020-10-01 13:51:49 +13:00
luk3yx 186449ecfc Better isolate SSCSM formspecs from other CSMs.
All formspecs shown in SSCSMs now have a "sscsm:_" prefix added to 
prevent interference with other CSMs.
2020-09-11 13:47:56 +12:00
luk3yx fc3c55cd46 Remove testing code 2020-09-10 09:48:39 +12:00
luk3yx c3e8444691 Update README.md (again) 2020-09-08 15:19:56 +12:00
luk3yx 9cdf24c34a Fix README.md 2020-09-08 15:16:58 +12:00
luk3yx 2800ad2853 Deprecate sscsm.global_exists().
This function will probably continue existing as it is used internally.
2020-09-08 15:15:48 +12:00
luk3yx 6e6cf438aa Bugfix 2020-09-08 15:02:49 +12:00
luk3yx e7bc9aafca Fix sscsm.get_player_control() on MT 5.4.0-dev.
This further bloats sscsm_init.lua to ensure the LMB/RMB fields are 
equal to dig/place.
2020-08-26 21:55:30 +12:00
luk3yx f91e4cc9f9 Remove print() calls 2020-07-30 19:41:09 +12:00
luk3yx 056c9d445d Fix CSM restriction flag detection 2020-07-27 13:52:51 +12:00
luk3yx 2110dcbdc9 Clarify warning message 2020-07-26 23:05:55 +12:00
luk3yx 7e991726e3 Update README.md 2020-07-19 16:09:00 +12:00
luk3yx 0097ce6148 Update README.md. 2020-06-04 10:57:07 +12:00
luk3yx 1f44160087 Add support for new ChatMessage API. 2020-06-02 22:57:43 +12:00
luk3yx 90336231c7 Use mod channel API properly. 2020-05-28 23:03:50 +12:00
luk3yx 24b75d9c92 Fix formspec 2020-05-05 18:17:42 +12:00
luk3yx dbb849ec1a Add more functions and fix get_player_control() on MT 5.3.0-dev. 2020-05-02 23:10:40 +12:00
luk3yx add63a8104 Improve SSCSM debugging.
Note that line numbers are inaccurate because of code minification.
2020-03-13 22:59:24 +13:00
luk3yx 8c3d961cd6 Wait for TOSERVER_CLIENT_READY before requesting CSMs. 2020-03-03 22:51:53 +13:00
luk3yx 84a27551de Bugfix. 2020-02-26 19:51:11 +13:00
luk3yx ce549ca6fd Make minetest.camera available to SSCSMs. 2020-02-19 10:56:55 +13:00
luk3yx 57547cafb5 Clarify README.md. 2020-02-14 22:38:33 +13:00
luk3yx e5edf9a003 Add sscsm.register_on_sscsms_loaded. 2020-02-14 22:32:12 +13:00
luk3yx c1a90bbe66 Remove print() call. 2020-02-14 21:21:08 +13:00
luk3yx 7ed12d0419 Increase server to client com message limit.
Long sscsm com messages are now split over multiple chat messages.
2020-02-14 21:17:46 +13:00
luk3yx b2b23654d4 Fix minetest.localplayer inside SSCSMs. 2019-12-29 11:20:51 +13:00
luk3yx 1410dc28ff Add SSCSM communication. 2019-12-29 10:44:41 +13:00
luk3yx 46977b593e Use minetest.get_modpath() in CSM if possible. 2019-11-17 16:36:10 +13:00
luk3yx aea9867ae9 Add minetest.get_csm_restrictions() 2019-11-12 09:25:01 +13:00
luk3yx 34e0ed35fa Fix comment 2019-11-05 13:52:11 +13:00
luk3yx 10096db4f3 Fix the fallback assert() function. 2019-11-05 13:45:33 +13:00
luk3yx 88f1030e01 Add sscsm.every and use the built-in assert(). 2019-11-05 13:43:28 +13:00
luk3yx 5c44ee657d Try and avoid minifying copyright/license notices. 2019-10-17 19:56:18 +13:00
luk3yx 3190a27711 Add mod.conf. 2019-10-16 18:27:35 +13:00
luk3yx 026d242239 Allow main directory to be installed as a CSM. 2019-10-16 14:05:26 +13:00
luk3yx b7228a9f48 Update README.md 2019-10-16 13:21:38 +13:00
luk3yx 2f2d701230 Make minify.lua more advanced. 2019-10-15 17:31:03 +13:00
luk3yx 4fa3d88608 Code style change 2019-10-15 16:27:29 +13:00
luk3yx 51e5b2d0c3 Add more SSCSM-facing API features. 2019-10-15 15:50:31 +13:00
luk3yx d45b4e8b1b Fix bug. 2019-10-15 13:02:07 +13:00
luk3yx acecf727e2 Delete register_on_mods_loaded callbacks when not required. 2019-07-27 17:59:41 +12:00
luk3yx 77e285b98a csm_strict: Bugfix 2019-07-15 11:37:21 +12:00
luk3yx 61703b0645 csm{,_strict}: Leave the mod channel if disabled 2019-07-15 09:54:37 +12:00
luk3yx a4a4687adf csm_strict: Add permanently allowing SSCSMs. 2019-07-15 09:42:59 +12:00
luk3yx cad2567d5c csm_strict/init.lua: More fixes 2019-07-14 19:21:07 +12:00
luk3yx 69cfe758e8 Leave the mod channel when deny is pressed. 2019-07-14 19:14:22 +12:00
luk3yx f097840e75 Minetest doesn't(?) leak formspec input
• Keep using random form names and button names because in case it can/does sometimes.
2019-07-14 17:01:50 +12:00
luk3yx 6745d01e32 Bugfix 2019-07-14 14:37:55 +12:00