Luke aka SwissalpS
a87e59afee
wrap fixup code in do-block
...
variable save_needed is not used for anything else
2024-09-15 00:06:17 +02:00
Luke aka SwissalpS
e21bd17ace
proper admin priv listing in help for invite
2024-09-15 00:03:20 +02:00
Luke aka SwissalpS
27449b6534
chown: fix command signature
...
password is required
2024-09-14 23:57:57 +02:00
Luke aka SwissalpS
75ff73a45c
chown: reorder to first check if player has any factions at all
...
There is no point in checking other params if this part fails.
2024-09-14 23:33:49 +02:00
Luke aka SwissalpS
442c2c5209
remove code that is never reached
2024-09-14 23:27:22 +02:00
Luke aka SwissalpS
0063990b28
Don't show password, since we can't anymore
2024-09-14 14:20:04 +02:00
Luke aka SwissalpS
8f249e27cc
Properly use the configurable admin priv in output
2024-09-11 11:03:32 +02:00
Luke aka SwissalpS
d09b01a397
loaded message
2024-09-11 10:51:57 +02:00
Luke aka SwissalpS
0163900ce9
Depricate factions.get_password()
...
returns nil after first run
2024-09-11 10:50:52 +02:00
Luke aka SwissalpS
b864fcafe1
Store hashes of passwords
...
cleartext password storage is bad practice.
2024-09-11 10:49:17 +02:00
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
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
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
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
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
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
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
9ed73d6da1
Refactored to clean the global namespace
2019-09-09 15:56:38 -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