-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Survive The Nights #58
base: main
Are you sure you want to change the base?
Conversation
I would suggest adding a variables for "useSteamRelays", "welcomeMessage", "recurringWelcomeMessage", "pvpDisabled". With my setup, I had to disable useSteamRelays for anyone to connect to the server. edit I think I'm understanding this a bit more. What I'm suggesting about the new variables should be moved to another PR? I've never done a PR before so I'm not sure what to do. Off to google I go. edit So I've learned that I can offer suggested edits and have tried to do it this morning but it created 15 or so comments with code changes you could approve/merge. I thought that was a bit much and deleted the pending comments. If this is indeed the way to go to suggest edits, I'll do it again. I just didn't want to do it in case there was a 'better' way of doing this without spamming comments/giving you a bunch of notifications etc. |
Something I did just notice now, and changed the other day but forgot to mention here. QUERY_PORT is not user editable. Shouldn't it be set to true? |
no, a port should never be editable by a user |
You can add comments to the egg, that is not a problem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the changes I think should be added/changed.
"files": "{\n \".\/Config\/ServerConfig.txt\": {\n \"parser\": \"file\",\n \"find\": {\n \"serverPort=\": \"serverPort={{server.allocations.default.port}}\",\n \"serverIP=\": \"serverIP=0.0.0.0\",\n \"serverName=\": \"serverName={{server.environment.SERVER_NAME}}\",\n \"serverPassword=\": \"serverPassword={{server.environment.SERVER_PASSWORD}}\",\n \"showInPublicLobby=\": \"showInPublicLobby={{server.environment.SERVER_PUBLIC}}\",\n \"serverOwner=\": \"serverOwner={{server.environment.SERVER_OWNER}}\",\n \"worldname=\": \"worldname={{server.environment.WORLDNAME}}\",\n \"queryPort=\": \"queryPort={{server.environment.QUERY_PORT}}\"\n }\n }\n}", | ||
"startup": "{\r\n \"done\":[\r\n \"*** Server Connected To STEAM *** \",\r\n \"to start the server ready to accept players!\"\r\n ]\r\n}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"files": "{\n \".\/Config\/ServerConfig.txt\": {\n \"parser\": \"file\",\n \"find\": {\n \"serverPort=\": \"serverPort={{server.allocations.default.port}}\",\n \"serverIP=\": \"serverIP=0.0.0.0\",\n \"serverName=\": \"serverName={{server.environment.SERVER_NAME}}\",\n \"serverPassword=\": \"serverPassword={{server.environment.SERVER_PASSWORD}}\",\n \"showInPublicLobby=\": \"showInPublicLobby={{server.environment.SERVER_PUBLIC}}\",\n \"serverOwner=\": \"serverOwner={{server.environment.SERVER_OWNER}}\",\n \"worldname=\": \"worldname={{server.environment.WORLDNAME}}\",\n \"queryPort=\": \"queryPort={{server.environment.QUERY_PORT}}\"\n }\n }\n}", | |
"startup": "{\r\n \"done\":[\r\n \"*** Server Connected To STEAM *** \",\r\n \"to start the server ready to accept players!\"\r\n ]\r\n}", | |
"files": "{\n \".\/Config\/ServerConfig.txt\": {\n \"parser\": \"file\",\n \"find\": {\n \"serverPort=\": \"serverPort={{server.allocations.default.port}}\",\n \"serverIP=\": \"serverIP=0.0.0.0\",\n \"serverName=\": \"serverName={{server.environment.SERVER_NAME}}\",\n \"serverPassword=\": \"serverPassword={{server.environment.SERVER_PASSWORD}}\",\n \"showInPublicLobby=\": \"showInPublicLobby={{server.environment.SERVER_PUBLIC}}\",\n \"serverOwner=\": \"serverOwner={{server.environment.SERVER_OWNER}}\",\n \"worldname=\": \"worldname={{server.environment.WORLDNAME}}\",\n \"queryPort=\": \"queryPort={{server.environment.QUERY_PORT}}\",\n \"useSteamRelays=\": \"useSteamRelays={{server.environment.USE_STEAM_RELAYS}}\",\n \"welcomeMessage=\": \"welcomeMessage={{server.environment.WELCOME_MESSAGE}}\",\n \"recurringWelcomeMessage=\": \"recurringWelcomeMessage={{server.environment.RECURRING_WELCOME_MESSAGE}}\",\n \"pvpDisabled=\": \"pvpDisabled={{server.environment.PVP_DISABLED}}\"\n }\n }\n}", | |
"startup": "{\n \"done\":[\n \"*** Server Connected To STEAM *** \",\n \"to start the server ready to accept players!\"\n ]\n}", |
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|numeric", | ||
"field_type": "text" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"field_type": "text" | |
"field_type": "text" | |
}, | |
{ | |
"name": "Use steam relays", | |
"description": "Use the steam relays to bypass firewalls.", | |
"env_variable": "USE_STEAM_RELAYS", | |
"default_value": "True", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string|in:True,False", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Welcome message", | |
"description": "Message shown to new players.", | |
"env_variable": "WELCOME_MESSAGE", | |
"default_value": "Welcome to the server.", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "string|nullable", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Recurring welcome message", | |
"description": "Message to display for players who have previously joined the server.", | |
"env_variable": "RECURRING_WELCOME_MESSAGE", | |
"default_value": "Welcome to the server.", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "string|nullable", | |
"field_type": "text" | |
}, | |
{ | |
"name": "PVP Disabled", | |
"description": "Allow or disallow PVP", | |
"env_variable": "PVP_DISABLED", | |
"default_value": "False", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string|in:True,False", | |
"field_type": "text" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???? Why that?
You know, that this is the Pelican egg? Your requested changes are really senseless |
@gOOvER the PR has both eggs (ptero and pelican) I edited both to make it easier to approve the changes. If this is wrong, i'm sorry :( This is my first attempt at doing this ever. Again sorry, if it causes a problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again sorry if this was wrong of me to do, this egg was in limbo since august last year, I saw that someone else requested an egg for this game and @QuintenQVD0 mentioned no one tested it. I tested it and works.. with the exception of useSteamRelays. I had to set that to false to get it to work. I also added some variables. If this is wrong again, i don't know how many times I've said it, but I am sorry. purge my comments and forget about it. I'm still working on a couple that say "pending" that won't clear for me. I'm new at this. I honestly don't know what I'm doing I guess.
@gOOvER those suggested edits you ask why? I blame vscode. I changed QUERY_PORT manually to false user_editable. Maybe VSCODE formatted it to remove spaces on save and thus the change. Noted. I'll refrain from allowing changes like that in the future. Sorry.
Thank you for your revieuw. But you did it a bit in an unusual way. If you want extra variables leave a comment on the last line of the egg with just a list of them. Don't add them as full json in a comment. And same for the parser. Mention like the key in the file with var it should match. It should not have full code in a comment. Also just review the egg for the panel you have installed. Do not touch the other ones as the formats are different. |
Mom always said I was unusual/different. So what else is new? lol. I do have both panels installed on two different computers, which is why I did both .json files. The only time I ever directly edited the file was to change my original change for the query_port back to false for user_editable which is where some of the spacing changes may have happened when I saved the file. edit The only change I can't seem to get out of 'pending' is the exported_at line. |
Description
Closes #49
Checklist for all submissions
New egg Submissions