415 Commits

Author SHA1 Message Date
cron
5f5dcf7195 turtle/tlang: add loop variable to forever 2020-11-08 18:26:01 +00:00
cron
c68d2cc95b turtle: add tlang pausing 2020-11-08 18:25:44 +00:00
cron
77cd076964 turtle/tlang: add state pausing 2020-11-08 17:35:55 +00:00
cron
5096e3ab7d autofly: fix autosprint preventing normal sprinting 2020-11-08 17:34:26 +00:00
cron
a5f00780ec turtle/tlang: improve API, add more boolean builtins 2020-11-07 19:27:25 +00:00
cron
28c175c6b3 turtle: improve state execution and interaction 2020-11-07 19:26:43 +00:00
cron
05833e9f24 turtle/tlang: fix binary operators being backwards 2020-11-06 23:39:49 +00:00
cron
4c2a89bba9 turtle/tlang: add else to if, fix end of scope error 2020-11-06 17:06:32 +00:00
cron
f71a8dbf0e turtle/tlang: add boolean conversion API, improve automatic conversion 2020-11-06 16:38:52 +00:00
cron
3a210fef57 turtle/tlang: fix nextpop bug, improve value conversion 2020-11-06 16:20:04 +00:00
cron
0df741ab4c turtle: improve coordinate handling and task scheduling 2020-11-06 16:18:56 +00:00
cron
cd1805ce25 turtle/tlang: add args builtin
Also fixes some bugs regarding exiting code blocks.
2020-11-06 00:54:06 +00:00
cron
cd0eb1b192 turtle/tlang: add WIP API
Some things aren't _raw, other things are, its WIP
2020-11-06 00:13:21 +00:00
cron
ba9a07d262 turtle: add public domain dedications 2020-11-05 23:20:28 +00:00
cron
455f20fa06 turtle: add .tlang, fix print log 2020-11-05 23:17:41 +00:00
cron
b09c6024ef turtle/tlang: log prints 2020-11-05 19:55:55 +00:00
cron
bfba03a87b turtle: fix tlang integration 2020-11-05 19:53:35 +00:00
cron
9ca4c0fc79 turtle: remove unneeded code
Other functions need to be replaced with tlang cogs.
2020-11-05 19:18:08 +00:00
cron
4c94ff4390 turtle: add tlang scheduler 2020-11-05 19:13:57 +00:00
cron
91ef7215e7 turtle/tlang: make more modular 2020-11-05 18:58:25 +00:00
cron
f6115ade95 turtle/tlang: remove unecessary dofile replacement 2020-11-05 18:49:45 +00:00
cron
8a3810a2ed autodupe: add automatic duping harness CSM
Currently nonworking, some promising methods but nothing concrete thus far.
2020-11-05 18:47:19 +00:00
cron
9d6d791073 turtle/tlang: add repeat
{code} count <var> repeat
2020-11-05 06:49:55 +00:00
cron
5dd14439ac turtle/tlang: allow unary operators to assign to quotes, add more operators
`var -- is now possible
Added + - / % !
2020-11-05 03:15:12 +00:00
cron
d3b2d308da turtle/tlang: make = assign to nearest defined
If identifier has never been assigned, assign it in current scope
If it has been assigned, reassign it at that scope to value
Needs a global assignment and local assignment, maybe rename = to set or something
2020-11-05 02:52:48 +00:00
cron
e0ea0033ec sapscaffold: allow place_node when buildable_to 2020-11-05 01:47:46 +00:00
cron
4b252170ea clientmods/world: remove duplicate CSM 2020-11-05 01:21:34 +00:00
cron
d22a587543 df/inventory: remove odx restoration
this would happen too quick, since anticheat would see the wrong tool being used after mine
this would prevent blocks from being broken
2020-11-05 01:09:58 +00:00
cron
61b041ffe0 clientmods/inventory: fix duplicate CSMs 2020-11-05 00:50:10 +00:00
cron
c973e4e085 sapscaffold: add small sapling scaffold CSM 2020-11-04 23:23:31 +00:00
cron
b83a098a91 minetest.register_cheat: fix multiple definition 2020-11-04 23:22:43 +00:00
cron
9fd49d876b turtle/tlang: force beginning and end of string literals to match 2020-11-04 19:20:02 +00:00
cron
752a72a478 turtle/tlang: add while 2020-11-04 19:19:36 +00:00
cron
d324d9ed10 turtle/tlang: make access() search for newest locals first, globals last 2020-11-04 06:46:43 +00:00
cron
9f8aa05b50 turtle/tlang: fix copying error with = builtin 2020-11-04 03:03:53 +00:00
cron
c65e72116e turtle/tlang: add forever and some other builtins
With forever, break, and (basic) if for and while can be made.
2020-11-04 02:57:48 +00:00
cron
03389880af turtle/tlang: add comments, fix strings
Strings support '' syntax now. They can also be started with ' and ended with " or vice versa, and there is no way to put a literal ' in yet.
2020-11-04 02:55:08 +00:00
cron
957d425609 turtle/tlang: add run builtin
This changes how code is executed a bit, code from the stack is popped to an execution stack before.
This makes global executed functions and anonymous ones identical.
Not super well tested as always :]
2020-11-03 07:06:59 +00:00
cron
0a3d331680 turtle/tlang: fix lexer whitespace issues
This fixes the final whitespace issue as well as numbers requiring a final whitespace.
Maps don't need surrounding whitespace anymore.
2020-11-03 07:05:27 +00:00
cron
a7e6ce6493 Merge branch 'master' of repo.or.cz:waspsaliva 2020-11-01 17:38:38 +00:00
cron
8f5dbbb1ba chatcommands: fix duplicate definition functions 2020-11-01 17:35:02 +00:00
cora
7ad3089d37 removed df chatcommand fuckery 2020-11-01 18:11:16 +01:00
cora
c91f9cdc8c lol 2020-11-01 17:17:22 +01:00
cora
00e81bfe3e added missing ws cheats ... time spent meaningful ... ^ 2020-11-01 17:12:45 +01:00
cora
e4a04a5079 autoeat: fixed stupid mistake 2020-11-01 16:58:32 +01:00
cora
2c7f135925 autofly: fixed autoSprint to reset correctly 2020-11-01 16:28:27 +01:00
cora
182a28e197 autofly: removed image test 2020-11-01 16:21:54 +01:00
cora
1a5f55d893 autoeat: added seperate setting for timed autoeat 2020-11-01 16:16:39 +01:00
cora
2b63530751 autoeat: set conditional eating interval to 5 mins 2020-11-01 16:13:30 +01:00
cora
307883157d autoeat: timed eat when certain things are happening 2020-11-01 16:09:09 +01:00
cron
d47ce9b310 turtle: add working tlang
Not very well tested, needs a better public API, not integrated with Minetest, ...
This is WAY bigger than a commit should be.
The next stages will be:
- unit tests
- API (allows it to be more than just a language for this project)
- integration with Minetest
2020-11-01 02:55:54 +00:00
cora
454e2be8ff add ws cheats to cheat.lua ... why, fleck, why ? :D 2020-11-01 00:20:41 +01:00
cora
70020d7b08 remove weird cheat def thingy 2020-10-31 23:02:29 +01:00
cron
0f420b14ac turtle: some weird ideas before the turtle language is added 2020-10-30 23:00:40 +00:00
cora
2c2ecbf80d invA: add more missing lua 2020-10-30 13:57:25 +01:00
cora
7f9701c641 inventoryAction: add missing lua function 2020-10-30 13:55:51 +01:00
cora
ae0296b1fd merge dragonfire inventoryAction 2020-10-30 13:33:50 +01:00
cora
561b48a6d6 add random screenshot csm 2020-10-27 17:53:45 +01:00
cora
a64e49dfe9 csm-api: add take_screenshot() 2020-10-27 14:46:39 +01:00
cora
21d76334b3 removed autowarp from mods.conf 2020-10-27 11:47:27 +01:00
cora
1bd37d13b9 autotool: actually fix reset wield index lol 2020-10-26 13:07:26 +01:00
cora
4e77ee2d62 autotool: little fix 2020-10-26 13:02:14 +01:00
cora
6851ebdbfd autotool: reset old wield index when node dug 2020-10-26 13:01:37 +01:00
cora
941b979be6 autoeat: reset old wield idx after eating 2020-10-26 12:07:44 +01:00
cora
41c39f92d1 autofly: more fixes 2020-10-25 12:12:56 +01:00
cora
eef83dd2be cleak: real fix 2020-10-25 11:34:38 +01:00
cora
8a90fe0283 cleak: fix 2020-10-25 11:28:47 +01:00
cora
35c586625f removed dupe csms, changed "Leak" to be a chatcommand 2020-10-25 11:24:56 +01:00
cora
df7000639d autofly: some fixes 2020-10-25 11:15:50 +01:00
cron
66c450a279 hignore: add settings and logging 2020-10-25 03:08:20 +00:00
cron
ceefc428b1 peek: remove debug log prints 2020-10-25 03:03:10 +00:00
cron
89058c7067 Merge branch 'master' of repo.or.cz:waspsaliva 2020-10-25 01:02:36 +00:00
cron
4ce3e10444 peek: fix cpeek number parsing error 2020-10-25 00:57:53 +00:00
cron
514f3c8c0b hignore: fix nil issue for DMs from stripped players 2020-10-25 00:57:10 +00:00
cora
4b8fc90db7 autofly: add normal autosprint; some gui fixes 2020-10-23 11:55:48 +02:00
cora
c88c8b20ab autofly: add AutoSprint 2020-10-23 02:19:12 +02:00
Elias Fleckenstein
847198edb6 Edited .gitignore properly; fixed armor invulnarability in the server code. 2020-10-18 12:06:11 +02:00
Elias Fleckenstein
bbcd249544 New Mod System 2020-10-17 11:11:22 +02:00
cora
05778ac53f goddessmode: fixed stupid error 2020-10-17 04:58:30 +02:00
cora
04f68c2440 undying: optimisation; remove old csns 2020-10-17 04:49:12 +02:00
cora
b0aa019ce4 esp: quick optimisation 2020-10-17 01:49:35 +02:00
cron
25dbc88164 Merge branch 'master' of repo.or.cz:waspsaliva 2020-10-15 21:29:47 +00:00
cron
0d6309f661 peek: add experimental chest peeking 2020-10-15 21:28:35 +00:00
cron
2d4aa9c9c1 turtle: add preliminary scheduling system 2020-10-15 21:28:14 +00:00
cora
d1db5075be goddess mode: only evade projectiles if they are moving 2020-10-15 15:56:19 +02:00
cron
68401ec791 turtle: initial turtle mod
Don't use turtle.quarry or the mining features, they are experimental
2020-10-14 13:00:32 +00:00
cora
37f85c2e71 goddess mode: detect splash potions, core: new font test 2020-10-14 13:30:01 +02:00
cora
bf674a2f3f goddess mode: detect all arrows 2020-10-13 12:09:01 +02:00
cora
d860e53a09 gooddess mode: added harming arrows and more bad blocks 2020-10-13 04:12:27 +02:00
cora
6d9aae85d5 goddess mode: bugfix 2020-10-13 03:30:04 +02:00
cora
4b1f0102cc goddess mode: some cleanup, 3d coords 2020-10-13 03:12:27 +02:00
cora
7077db7607 goddess mode: add evade arrows 2020-10-13 02:50:04 +02:00
cora
9f83b27d9c goddess mode: safety kinda works 2020-10-12 20:39:20 +02:00
cora
be24da49e3 goddess mode: some safety 2020-10-12 18:02:13 +02:00
cron
e4f986e99d Merge branch 'master' of repo.or.cz:waspsaliva 2020-10-12 02:29:26 +00:00
cron
de4da91f22 peek: add shulker box peek command 2020-10-12 02:27:38 +00:00
cora
fff6a37e74 goddess mode: tweak the constants 2020-10-12 04:20:07 +02:00
cora
98cef47c34 actually add goddessmode .. 2020-10-12 03:41:46 +02:00
cora
ec76bc15ea add: goddessmode alpha 2020-10-12 03:39:07 +02:00
cron
68bd4b63ca tchat: prevent /commands from being sent unintentionally 2020-10-12 00:07:24 +00:00
cron
46bd009798 autoaim: add basic autoaim 2020-10-09 21:23:17 +00:00
cron
e2a4b41334 supernotes: create local wiki clientmod 2020-10-08 18:10:59 +00:00
cron
23de3c37f1 hignore: fix 'higlight' typo 2020-10-07 23:25:03 +00:00
cron
2530004afb Merge October 5th Dragonfire changes 2020-10-07 22:15:33 +00:00
cron
fde77217cb hignore: fix server names and duplicate messages 2020-10-07 00:13:40 +00:00
cron
69da194461 quotebot: fix typo 2020-10-06 18:24:54 +00:00
cron
887b18936e Merge remote-tracking branch 'origin/master' 2020-10-06 18:13:30 +00:00
cron
dd1e75bd82 quotebot: create quote saying bot (includes import/exporting quotesets) 2020-10-06 18:09:45 +00:00
cron
9afa61a55d hignore: add mode to strip user titles 2020-10-06 18:08:19 +00:00
flyc0r
be40b3da54 autfly: add wp-gui menu entry 2020-10-06 12:42:27 +02:00
cron
750120c494 hignore: remove debug prints 2020-10-06 03:16:03 +00:00
cron
e5f220693a Merge branch 'master' of repo.or.cz:waspsaliva 2020-10-06 02:49:17 +00:00
cron
57a1f944c9 hignore: create highlight/ignore player messages clientmod 2020-10-06 02:48:02 +00:00
flyc0r
5bc3b727af Merge https://repo.or.cz/waspsaliva into master 2020-10-06 03:13:59 +02:00
flyc0r
c8d90d5f85 autominer: cleanup 2020-10-06 03:13:11 +02:00
cron
51e32ac5ba tchat: add team clear and chat clear 2020-10-05 23:27:30 +00:00
cron
95c10965d5 tchat: fix duplicate player online bug 2020-10-05 23:22:14 +00:00
cron
106fab9762 Merge dragonfire changes 2020-10-05 22:43:01 +00:00
Elias Fleckenstein
cb1915efa7 Added minetest.drop_selected_item(), Improved AutoEject 2020-10-05 22:33:32 +02:00
Elias Fleckenstein
43ee069dbf Improved X-Ray, added AutoEject 2020-10-05 22:25:36 +02:00
cron
7652a30c72 Merge branch 'master' of repo.or.cz:waspsaliva 2020-10-05 19:33:14 +00:00
cron
4a1b7bd37a itemcount: initial semiworking prototype 2020-10-05 19:32:34 +00:00
flyc0r
096ce84ab6 hpchange: actually set dmg %) 2020-10-05 12:30:30 +02:00
flyc0r
cc4736d025 autominer: more optimisation 2020-10-05 06:26:59 +02:00
flyc0r
a269b0d5dc m
Merge https://repo.or.cz/waspsaliva into master
2020-10-05 05:11:10 +02:00
flyc0r
9363aaa25d autominer: smaller search radius -> more efficient mining 2020-10-05 05:09:02 +02:00
cron
86e96f5dcb autotool: fix broken reference (now works on non mcl2 servers) 2020-10-05 02:55:48 +00:00
flyc0r
217fd70ee5 autominer: further optimization. almost 0 damage now 2020-10-05 04:21:29 +02:00
flyc0r
0b832d4f48 autominer: functional autotool 2020-10-05 04:05:23 +02:00
flyc0r
56f8c97fa7 autominer: optimizing 2020-10-05 03:30:03 +02:00
flyc0r
9e2805235c autominer: avoid not only lava but gravel too 2020-10-05 02:47:18 +02:00
flyc0r
7ff2a35474 autominer: even better positioning 2020-10-05 02:40:10 +02:00
flyc0r
f24040219a autominer:better positioning->less damage 2020-10-05 02:34:51 +02:00
flyc0r
5c274bbafe added autominer to mods.conf 2020-10-05 02:20:33 +02:00
flyc0r
70c925f4ff add: autominer ALPHA 2020-10-05 02:18:38 +02:00
Elias Fleckenstein
ee88f4b94f Improved Tracers 2020-10-04 22:59:43 +02:00
Elias Fleckenstein
c36ff3edb1 Added AutoSneak and improved X-Ray MapBlock updating 2020-10-04 22:22:55 +02:00
cron
bce8e36fc3 hpchange: add (nonworking) potential change marker 2020-10-04 15:19:56 +00:00
cron
1ff64b4fa1 wisp: add message timeout 2020-10-04 15:08:50 +00:00
Elias Fleckenstein
b9f8f0a232 The Robot Update 2020-10-04 10:50:07 +02:00
cron
7e3e609825 panicm: remove hp change diagnostic messages (superseded by hpchange) 2020-10-04 05:32:55 +00:00
cron
7e3c6b9cdd hpchange: create hpchange clientmod 2020-10-04 05:32:38 +00:00
cron
9ab726e1ed wisp: add diagnostic error messages when installation is broken 2020-10-04 05:31:51 +00:00
cron
d50e632803 tchat: make message prefixes consistent 2020-10-04 05:31:21 +00:00
flyc0r
f3b66c82c5 updated wisp and tchat 2020-10-04 04:32:19 +02:00
flyc0r
0e9e1f3528 init 2020-10-04 03:37:08 +02:00
Elias Fleckenstein
af085acbd3 Added Schematicas 2020-08-24 19:49:42 +02:00
Elias Fleckenstein
0730ed2162 Delete my stupid test mod lol 2020-08-22 19:39:06 +02:00
Elias Fleckenstein
772c9629eb Unrestricted HTTP API for Client, Server and Main Menu 2020-08-22 19:38:36 +02:00
Elias Fleckenstein
9b1030cac4 Added minetest.get_inventory(location) 2020-08-22 15:45:06 +02:00
Elias Fleckenstein
2321e3da4c Removed console output spammed by minetest.find_node_near 2020-08-22 14:30:52 +02:00
Elias Fleckenstein
90f66dad82 Removed experimental code 2020-08-22 14:28:08 +02:00
Elias Fleckenstein
8b4d27141c Fixed typo in clientmods/inventory/mod.conf 2020-08-22 14:27:17 +02:00
Elias Fleckenstein
d8b8c1d313 Added Documentation for Additional API 2020-08-22 14:24:58 +02:00
Elias Fleckenstein
6e6c68ba04 Added Chat Spam, Replace and settingtypes.txt for Clientmods 2020-08-22 13:51:50 +02:00
Elias Fleckenstein
79d0314d79 Update Buildbots 2020-08-20 18:29:36 +02:00
Elias Fleckenstein
770bde9c64 idk 2020-08-18 19:15:19 +02:00
Elias Fleckenstein
e245151c5b Improved World hacks 2020-08-16 20:34:32 +02:00
Elias Fleckenstein
19205f6b33 Improved World Hacks, added API functions 2020-08-16 18:09:27 +02:00
Elias Fleckenstein
73b89703f9 Improved World hacks, added fill 2020-08-16 16:39:29 +02:00
Elias Fleckenstein
248dedaba3 Added floationg water to BlockWater 2020-08-15 21:16:43 +02:00
Elias Fleckenstein
9dc3eb7770 Fixed broken Chatcommands 2020-08-15 16:32:16 +02:00
Elias Fleckenstein
80371bc165 Added .listwarps 2020-08-15 16:00:26 +02:00
Elias Fleckenstein
3bed0981d0 UI Update; Added AutoTool 2020-08-15 15:45:28 +02:00
Elias Fleckenstein
622d547262 Added DestroyWater (:P anon) 2020-08-14 20:34:21 +02:00
Elias Fleckenstein
9019e18b94 Some Updates 2020-08-14 19:12:14 +02:00
Elias Fleckenstein
2675bcca1a Added more cheats 2020-07-31 19:23:29 +02:00
Elias Fleckenstein
3d980cf575 Improved Xray and Fullbright 2020-07-30 12:19:03 +02:00
Elias Fleckenstein
678559bb63 removed leagcy clientmods 2020-07-26 14:43:02 +02:00
Elias Fleckenstein
9194165cf1 Added autodig, moved chat 2020-07-26 14:42:33 +02:00
Elias Fleckenstein
064c25caa1 Added EntitySpeed 2020-07-20 16:43:11 +02:00
Elias Fleckenstein
5a8610c2f4 Added customizable keybindings, improved freecam, added special inventory keybind (by default ender inventory) 2020-07-18 20:01:17 +02:00
Elias Fleckenstein
45aa2516b2 Added settings 2020-07-18 13:20:08 +02:00
Elias Fleckenstein
408e39a1d2 Added Anti Knockback 2020-07-18 10:33:14 +02:00
Elias Fleckenstein
305e0e0d31 Auto disable smooth lighting when fullbright is active 2020-07-16 15:36:39 +02:00
Elias Fleckenstein
6796baec66 Defaultsettings 2020-07-08 13:01:06 +02:00
Elias Fleckenstein
5a2bf6634c Added Clientmods 2020-07-07 14:16:44 +02:00
Elias Fleckenstein
e610149c0c Initial Commit 2020-07-06 15:50:55 +02:00
sfan5
c44318a253 [CSM] Fix and improve minetest.get_language()
Previously this method would accidentally reset the locale
and break everything.
2019-11-11 14:06:48 +01:00
sfan5
2c4cf508a9 [CSM] Implement minetest.get_csm_restrictions()
fixes #8068
2019-11-11 14:06:48 +01:00
sfan5
3f271564e0 Run on_item_use CSM callback even if item is not marked usable
Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).
2019-11-11 14:06:48 +01:00
sfan5
b57dc70769 [CSM] Expose more env functions 2019-11-11 14:06:48 +01:00
sfan5
d961ece144 Be lenient with extra slashes for CSM paths 2019-11-09 16:08:38 +01:00
sfan5
485b669840 [CSM] Remove non-functional minetest.get_day_count() 2019-11-09 16:08:38 +01:00
sfan5
b1f2a69382 Introduce get_modpath() for CSM 2019-11-09 16:08:38 +01:00
Loïc Blot
ccc3af128c
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
2018-06-06 12:53:59 +02:00
red-001
49ff1d2ea8 [CSM] Remove on_connect callback (#6941)
Fixes #6939
2018-01-21 18:27:27 +01:00
red-001
9649e47214 [CSM] Add basic HUD manipulation. (#6067)
* [CSM] Add basic HUD manipulation.

Workaround for on_connect not working right now.
2018-01-20 14:09:58 +01:00
Vincent Glize
4e19791cde [CSM] Add callback on open inventory (#5793) 2017-10-02 22:09:49 +02:00
Loic Blot
f7e57a0d20
preview: try to send mod channel messages 4 seconds after joining, not after loading mod 2017-09-26 08:32:07 +02:00
Loïc Blot
6f1c907204 Implement mod communication channels (#6351)
Implement network communication for channels

* Implement ModChannel manager server side to route incoming messages from clients to other clients
* Add signal handler switch on client & ModChannelMgr on client to handle channels
* Add Lua API bindings + client packet sending + unittests
* Implement server message sending
* Add callback from received message handler to Lua API using registration method
2017-09-26 00:11:20 +02:00
red-001
f3ad75691a Create a filesystem abstraction layer for CSM and only allow accessing files that are scanned into it. (#5965)
* Load client-side mods into memory before executing them.

This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure.

* Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory.

* Fix the issues with backtrace

* fix most of the issues

* fix code style.

* add a comment
2017-06-30 20:14:39 +02:00
DS
44495ea719 CSM: Fix documentation error for register_on_*_chat_messages (#5917) 2017-06-09 15:48:04 +02:00
red-001
c91a8c7061 [CSM] Add function to get player privileges (#5933)
* [CSM] Add function to get player privileges + move related help functions to common

* Added @Zeno- const
2017-06-07 09:09:06 +02:00
SmallJoker
673ac55a9d [CSM] Fix crash when the minimap is disabled. Caused by e25a38e 2017-05-20 10:26:09 +02:00
red-001
5ebf8f9450 [CSM] add on_item_use (#5544) 2017-05-06 21:12:44 +02:00
red-001
ae0d8f74d7 Add function to get server info. 2017-05-04 04:25:45 +01:00
Vincent Glize
dc5bc6cac7 [CSM] Add event on_place_node API lua (#5548)
* [CSM] Add event on_place_node API lua
2017-04-29 12:08:16 +02:00
bigfoot547
e80a83d1cb [CSM] Add function to set minimap shape (#5569)
* [CSM] Add function to set minimap shape

Also deprecates `toggle_shape`.

* Oh fish, I messed that one up!

* Fix Style

* Sorry, I missed something

I still had the `luamethod` call in there!

* Add getters

* Remove extra line

* Remove useless variable

Please review again @nerzhul . Thanks!

* Satisfy nerzhul
2017-04-14 09:04:41 +02:00
red-001
e8d8723320 [CSM] Move .list_players and .disconnect to builtin. (#5550) 2017-04-10 21:13:20 +02:00
Vincent Glize
f73534640a [CSM] Add event on_connect player API lua (#5540)
* Add event on_connect player API lua
2017-04-08 08:20:30 +02:00
red-001
88b9b9652a [CSM] Add function to get the server protocol version. (#5529) 2017-04-06 22:50:45 +02:00
red-001
63ac62ec8a [CSM] Add function and chat command to disconnect from server. (#5487) 2017-04-01 13:40:56 +02:00
bigfoot547
9efc5da0fb [CSM] Add function to get player names in range (#5435)
* [CSM] Add function to get currently connected player names
2017-03-22 21:13:03 +01:00
red-001
d31750cb93 Give CSM access to use core.colorize() (#5113) 2017-03-17 19:20:13 +01:00
Loïc Blot
7b74f04a61 [CSM] Fix minimap problems (#5405)
This fixes issue #5404
2017-03-17 07:54:49 +01:00
Loïc Blot
0891975ad6 [CSM] Add core.get_timeofday & core.get_day_count env calls (#5401)
* [CSM] Add core.get_timeofday & core.get_day_count env calls

* [CSM] Add core.get_node_level, core.get_node_max_level, core.find_node_near
2017-03-17 07:48:29 +01:00
Loïc Blot
40ce538aad [CSM] Add minimap API modifiers (#5399)
* Rename Mapper (too generic) to Minimap
* Add lua functions to get/set position, angle, mode for minimap
* Client: rename m_mapper to m_minimap
* Add minimap to core.ui namespace (core.ui.minimap)
* Add various functions to manage minimap (show, hide, toggle_shape)
* Cleanup trivial declaration in client
2017-03-16 10:34:54 +01:00
Loïc Blot
eb88e5dd4b Add ModStorageAPI to client side modding (#5396)
mod storage is located into user_path / client / mod_storage
2017-03-16 07:53:39 +01:00
red-001
88df9fb5b6 Add get_wielded_item 2017-03-13 23:56:05 +01:00
red-001
0727bb3ddd [CSM] Add on_punchnode callback 2017-03-13 23:56:05 +01:00
red-001
37df9cb7d7 [CSM] Add get_node and get_node_or_nil 2017-03-13 23:56:05 +01:00
red-001
073f5cf03d [CSM] Add on_dignode callback (#5140) 2017-03-13 23:56:05 +01:00
Loic Blot
ba66fce833 [CSM] storage + fixes 2017-03-13 23:56:05 +01:00
Loïc Blot
92b45b2a18 [CSM] implement client side mod loading (#5123)
* client side mods are located in clientmods/
* move builtin/preview.lua to clientmods/preview/init.lua as a preview mod
* refactor ModConfiguration class to work properly with client and server using child objects
* move some Server constructor mod load code to ModConfiguration to reduce code duplication between client and server
* remove mods.{cpp,h} unused functions
* use UNORDERED_SET instead of std::set in some modspec storages
2017-03-13 23:56:05 +01:00