Commit Graph

49 Commits

Author SHA1 Message Date
Niklp
755a780122
allow custom factions_admin priv (#7) 2023-04-14 18:35:31 +02:00
Luke aka SwissalpS
77fe095ac8
nil check patch (#5)
* nil check patch
2021-12-21 07:15:29 +02:00
BuckarooBanzay
19cb21ee1a add luacheck, workflow and fix some issues 2021-05-16 18:52:10 +02:00
ulysse
0d19660379 fix error in case handling 2021-04-02 22:03:19 +02:00
ulysse
0c0e7548c1 changed command outcomes in chat message to return string 2021-04-02 22:03:19 +02:00
ulysse
83a63c1335 removed extra parameter 2021-04-02 22:03:19 +02:00
Buckaroo Banzai
18eef7c90e
Merge pull request #2 from IRI-Research/master
Add checks on command args to avoid server crashes
2021-04-01 19:55:13 +02:00
Yves-Marie Haussonne
0612afb338 Add checks on command args to avoid server crashes 2021-03-31 18:25:36 +02:00
BuckarooBanzay
639f5aa716 check if player faction is nil 2020-10-27 13:32:02 +01:00
Louis Royer
50335b7ceb Add missing french translations I forgot in my last PR
because of the "exclude all files by default" policy in .gitignore.
2020-08-23 14:32:56 +02:00
Supergoat666
d77af6ecac Fix grammar and add README 2020-08-22 23:58:18 +00:00
Supergoat666
cc0ae096d8 fix player name in /factions player_info 2020-08-22 23:58:18 +00:00
Supergoat666
44ffad45b9 Improve get_player_factions, get_owned_factions and get_administred_factions to return nil if there is no faction corresponding 2020-08-22 23:58:18 +00:00
Supergoat666
cac9740440 Add a command to see what faction a player is in, and what of them are owned by himself + improve get_player_factions, get_owned_factions and get_administred_factions to return nil if there is no faction corresponding 2020-08-22 23:58:18 +00:00
Supergoat666
d90a6d6dda fix get_facts 2020-08-22 23:58:18 +00:00
Louis Royer
8b6730afe6 Port from intllib to builting MT5 client-side translation system
- Add french translations
2020-08-20 18:57:22 +02:00
Katherine Peeters
8d6d699f45
Updated credits 2020-08-20 11:19:16 -04:00
Supergoat666
fd8680b3f6 Change the way to configure : now using minetest.conf 2020-08-20 03:06:02 +02:00
Supergoat666
fa20136630 Remove test function 'ses' that I forget 2020-08-18 14:03:21 +02:00
Supergoat666
63485e4b7a Improve settings reading 2020-08-18 13:55:55 +02:00
Supergoat666
4aed28e53e changing the name of get_owned_factions by get_administered_factions 2020-08-18 11:35:51 +02:00
Supergoat666
3e7190edc6 Code Improvement 2020-08-18 11:25:28 +02:00
Supergoat666
600c721299 debug automatic corrector 2020-07-29 12:57:36 +02:00
Basile
c8dc189e92 Update README.md 2020-07-29 10:48:30 +00:00
Basile
c6b09cee66 Update README.md 2020-07-29 10:44:38 +00:00
Basile
be035ca716 Update README.md 2020-07-29 10:42:19 +00:00
Basile
1eae826e00 Update README.md 2020-07-29 10:41:40 +00:00
Supergoat666
0b799f3c5f Show list members only if the members are less than 50 in the /factions info command 2020-07-29 09:28:33 +02:00
Supergoat666
7d77eb3a41 Made some grammatical corrections 2020-07-29 09:20:46 +02:00
Supergoat666
6f681a2f4c Update README.md to fit with modifications 2020-07-28 23:04:02 +02:00
Supergoat666
b756738148 Add the line for config mode to facilitate the activation of multi-faction : all it takes is switching to false 2020-07-28 22:56:38 +02:00
Supergoat666
abdf4d25d9 Add factions.version variable + factions.get_facts() + factions.player_is_in_faction(fname,player_name) to make easier the integration in other mods 2020-07-28 22:50:31 +02:00
Supergoat666
15ec2ad3e1 Add the multi-factions mode to support multi factions 2020-07-28 22:47:50 +02:00
Supergoat666
95a35e2671 Add the /factions invite command to add a player to a faction, only playerfactions_admin can use it 2020-07-28 22:42:57 +02:00
Supergoat666
26074eedd9 Add playerfactions_admin privs 2020-07-28 22:36:04 +02:00
Supergoat666
8e4aa0db51 Add the member list in /faction info 2020-07-28 22:29:38 +02:00
Katherine Peeters
d9844f27e4
Protector integration has been merged; updated README
Closes #4
2020-04-25 12:26:33 -04:00
Katherine Peeters
c255afbbf0
Temporarily fixed bug with offline players
Player storage isn't available when players are offline, so get_player_faction wouldn't work. Fixed by adding a secondary data structure, which will be removed once a mechanism for offline player storage has been added to the engine
2020-02-08 12:08:01 -05:00
Alden Peeters
807cb6400e
More helpful error messages 2019-09-18 16:52:14 -04:00
Alden Peeters
38dfc451e5
Fixed typo 2019-09-16 17:12:10 -04:00
Alden Peeters
d865323726
Renamed factions to playerfactions to avoid confusion 2019-09-09 19:44:59 -04:00
Alden Peeters
9adfb56b3b
Fixed create, disband, and chown commands 2019-09-09 18:20:58 -04:00
Alden Peeters
f9ce04c4c4
Fixed critical bugs 2019-09-09 17:59:09 -04:00
Alden Peeters
db86cabb04
Added GPLv3 license 2019-09-09 16:06:33 -04:00
Alden Peeters
9ed73d6da1
Refactored to clean the global namespace 2019-09-09 15:56:38 -04:00
Alden Peeters
21537393ff
We don't really need beerchat integration 2019-09-09 00:11:43 -04:00
Alden Peeters
7a77f6cb07
Added README.md 2019-09-08 23:53:15 -04:00
Alden Peeters
a757cd1362
Added passwd and chown 2019-09-08 23:32:40 -04:00
Alden Peeters
b72bc3db56
Initial commit 2019-09-08 22:11:55 -04:00