Author Topic: Support_Prefs v3.1 - now with keybind  (Read 10720 times)

you're hoping the first character is a letter. what about numbers? what about underscores? periods? exclamation marks?
Variable names can only start with letters and underscores, so there's no problem here. This function will run a lot faster than using the ts compiler.


this is something clients should handle, i think of it like a wiki entry.
I think you should focus less on extensibility and make an actual complete system. This way encourages you to get lazy because "someone else will handle it" and you never end up with the perfect pref manager.
« Last Edit: December 18, 2015, 06:50:26 PM by Zeblote »

Variable names can only start with letters and underscores, so there's no problem here. This function will run a lot faster than using the ts compiler.

I think you should focus less on extensibility and make an actual complete system. This way encourages you to get lazy because "someone else will handle it" and you never end up with the perfect pref manager.
oh, yeah, forgot about underscores. Will add them next update.

Going to bed now
« Last Edit: December 20, 2015, 06:08:37 AM by chrisbot6 »

I can't change the playercount. If I set it to a different number, it still stays the same as how the server started.

Also for those cases, wouldn't A and a be the same since it isn't case sensitive?

I can't change the playercount. If I set it to a different number, it still stays the same as how the server started.
Can't reproduce this. Anyone else have this issue?

EDIT: Do you mean how the player menu's max count always stays the same when the count is changed in a menu? That's been a bug with blockland for a while but I can try to fix it if you'd like?
« Last Edit: December 19, 2015, 04:44:37 AM by chrisbot6 »

Upcoming update v1.2 to v2.0:
Code: [Select]
- Added support for sliders (floats), format is "float [min] [max]"
- Added support for datablocks (of certain types), format is "datablock [dataType] [hasNone]"
- Added proper support for all wordlists (etard, adminmenu etc), format is "wordlist [seperator] [maxlength]"
- Added special value called bl_idlist which lets you add present players or custom ids with a gui like the wordlist one
- Added support for RTB's "num" type (basically an int that's allowed to have decimals)
- Intiger entry boxes are now visibly smaller
- Fixed some bugs with default blockland values that would cause the game to "forget" changes
- Made categories collapsable in the source code, not implemented in the gui yet.
- Added support for prefs that start with an underscore.
- Fixed issue where players going between gui submenus without hitting apply will see old values.
« Last Edit: December 19, 2015, 01:49:02 PM by chrisbot6 »

So wait, will you be putting in the feature for adding/removing moderators/admins/superadmins?

So wait, will you be putting in the feature for adding/removing moderators/admins/superadmins?
It's there. It's just a "seperate names with commas" box at the moment.

See, I don't like the idea of "only the admin list can be an editable list" that everyone is going with at the moment, so I've made it its own pref type with a setup gui and stuff.

Also, the moderator mod will have to add its own wordlist to the menu.
« Last Edit: December 19, 2015, 06:57:08 AM by chrisbot6 »

I'm still having the issue of changing the server's maximum players. Is there a conflicting mod I should delete like Support_Preferences? I already removed RTB.

I figured it out, it actually does change, but when I press F2 to view that playercount, it still shows the same thing as how the server began with unless I rejoin. Then it will change from there.
« Last Edit: December 19, 2015, 09:36:45 AM by Spartan224 »

When changing server name or player count, make sure it sends the playerlist

When changing server name or player count, make sure it sends the playerlist
What's the command to resend everyone the player list?

Nvm, found it myself. v2 is done.
« Last Edit: December 19, 2015, 09:22:28 PM by chrisbot6 »

v2 to v2.1
Code: [Select]
- Fixed major bug with the "Notify Users" checkbox
- Added "datablocklist" type.
- Will probably add a "multilist" type to cover other bases later.

 :cookieMonster:

Haven't come across anyone using the GUI yet. Hopefully soon!

v2.1 to v2.2
Code: [Select]
- Fixed bug where mod would load twice
- Fixed bug where mod wouldn't load at all

Do we need some sort of converter to make the prefs avalible for them to work? And, is this compatible with servers that have RTB?

Do we need some sort of converter to make the prefs avalible for them to work? And, is this compatible with servers that have RTB?
no and yes.