Blockland Welcome, Guest. Please login or register.
Did you miss your activation email?
July 22, 2017, 08:51:52 PM

Home Help Login Register
+  Blockland Forum
|-+  Blockland Files
| |-+  Add-Ons
| | |-+  Better Server Rules
Pages: [1] 2 3 4
Author Topic: Better Server Rules  (Read 6049 times)
Pecon

« May 10, 2014, 02:44:44 PM »

Remember those rules mods that would show a messagebox when you spawned, but it would always just close itself before you could really read it? I assure you this is quite different. These rules will display before the user is able to spawn, and they won't spawn until they click "YES" on the rules box. This ensures that every player has a fair chance to read the rules, and cannot otherwise argue that they didn't know the rules. Additionally, if a gamemode has a rules.txt file in it, it will automatically be loaded as the server's rules.

Commands:
/rules - Displays the rules on a normal OK box, good for previewing after changing a rule.

/setRule <number> <rules> - Allows a super-admin to set a rule. Can have as many as you want.
/setRule 1 Do not spam.
/setRule 2 This_very_long_rule_can_be_ma de_by_using_underscores_inste ad_of spaces !




Download

This mod uses Greek2Me's Support_Updater. Upon installation, you may be prompted to download Support_Updater if you do not already have it.
« Last Edit: May 10, 2014, 02:58:29 PM by Pecon » Logged
Ad Bot

Full members do not see ads

Subpixel

« May 10, 2014, 02:49:30 PM »

The only problem with these MessageBoxOK rules are the packet limits. You can only send (256?) characters.
Logged
Abstath

« May 10, 2014, 02:50:37 PM »

This is much better

Though do the rules cut off because of a character limit like the other?
Logged
The Brighter Dark

« May 10, 2014, 02:51:08 PM »

Though do the rules cut off because of a character limit like the other?
Logged
Pecon

« May 10, 2014, 02:52:43 PM »

This is much better

Though do the rules cut off because of a character limit like the other?
Unfortunately I believe that they will. I didn't actually test that, though.
Logged
miniiron45

« May 10, 2014, 03:52:54 PM »

Loading screen texture is that?
Logged
Pecon

« May 10, 2014, 04:00:10 PM »

Loading screen texture is that?

Some client mod I downloaded a long time ago. I don't know.
Logged
miniiron45

« May 10, 2014, 05:34:48 PM »

Some client mod I downloaded a long time ago. I don't know.
Alright.
Logged
Georges

« May 10, 2014, 05:47:10 PM »

What happens if you click no?
Logged
Zeblote

« May 10, 2014, 05:51:39 PM »

Though do the rules cut off because of a character limit like the other?
Yes they do because the messagebox is created using a commandtoclient which can carry a max of 255 characters.
Logged
BluetoothBoy

« May 10, 2014, 06:01:35 PM »

What happens if you click no?
It blasts you into the sun.
Logged
Georges

« May 10, 2014, 06:02:20 PM »

It blasts you into the sun.
Ouch.
Logged
Starzy

« May 10, 2014, 06:11:21 PM »

Yes they do because the messagebox is created using a commandtoclient which can carry a max of 255 characters.
255 characters is more than enough text though.
Logged
jes00

« May 10, 2014, 06:31:26 PM »

What happens if you click no?
I think if you click no then you just... can't spawn.
Logged
Zeblote

« May 10, 2014, 06:33:08 PM »

It should be a OK box, not a YES/NO box.
Logged
Pages: [1] 2 3 4  


Login with username, password and session length

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Page created in 0.032 seconds with 18 queries.