Author Topic: [ULX] ServerMode ~ Change server from maintenance and back simply!  (Read 11440 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
PLUGIN REMOVED
MOD PLEASE DELETE
« Last Edit: May 17, 2015, 02:24:34 AM by Tomzen »
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline Tristan Parker

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Physgun enthusiast
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #1 on: May 13, 2015, 01:52:44 PM »
Interesting idea, but I need to ask: does this allow you to install addons without a full restart of the server, and what happens to users when they try and connect? Does it show that maintenance is in progress or is it merely cosmetic?
"A man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth."
~ Oscar Wilde

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #2 on: May 13, 2015, 02:05:35 PM »
According to the Source code, it is purely cosmetic, as it just reads a maintenance.cfg file. You still will always need to restart the server when adding addons.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #3 on: May 13, 2015, 06:50:11 PM »
This version is a bit rough and crap lol... the one I'm working on basically uses the concept but instead of reading the maintenance config, the add-on comes with a config it reads and applies from there, but no to install add ons you will still have to restart or change map (depending on the add-on) but the main reason is so that members/users don't join constantly...

But it will change the server name, to example, my server name would change to " Thirdage Gaming | Maintenance " and set a password to it (of your choice) which they (hopefully) will not find out.
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #4 on: May 13, 2015, 07:24:04 PM »
Putting passwords in lua and cfg files = bad idea
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #5 on: May 13, 2015, 07:26:49 PM »
True, players can download lua and cfg files right?
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #6 on: May 17, 2015, 02:20:51 AM »
REQUEST: Please remove this whole post, as the command is completely terrible and needs to be re-coded desperately... To top it off, it crashes the server :3
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [ULX] ServerMode ~ Change server from maintenance and back simply!
« Reply #7 on: May 19, 2015, 07:53:47 PM »
Moved to Release archives for reference.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming