Agree terms, otherwise kick (Rust)Solved
Good morning everyone. 

I'm looking for an information board with terms and agreements for a user to actually read. If they dont accept or click it away, they get kicked from the server until they accept it.  This could be just a small popup with "do you accept the terms and rules of this server" where players would have to click on one of the "see rules" "accept" or "reject" buttons.

If anyone knows something, it would be awesome if you could create something like that. Please keep in mind

  • The plugin needs to be open-source and free for everyone to use/contribute with updates and fixes here on umod.
  • I'm not joining discord groups, but i can add you if you want to show some screens. 
  • There is no need for the " are you willing to pay for it " messages. I donate when I feel good at it.
I can add such options to Info Menu since the plugin already exists and just lacks a few features like auto-open on (first) join and kick if does not agree. Feel free to suggest your ideas and how to implement this exactly.
So, once the user joins the server, he/she gets a popup, suggesting to read the rules before playing. There will be 3 buttons to reading the rules, accept and reject. 

1. If they click on read the rules, the info panel pops up. they can read it and close it once done. 
2. Accept button for those that already joined before to skip the part. You could assign players to an oxide group to let this button show automatically. Think of trusted users or V.I.P members.
3. The reject button. Once clicked, a message comes up that you are going to be kicked in 10 seconds as the rules must be accepted.

New users that joining the server will have no rights until they checked out the rules. Not able to use the chat, commands or what so ever. 
Once they closed down the rules, the "accept" button comes up so that you can click on accept.
BUMP, anyone interested? 
Bump.

Anyone interested that actually wants to do it? or is money greed that high?

Merged post

Bump again. If anyone is interested. Please message me. 

For the person that starts crying about money, as long you dont have legit paperwork of a chamber of commerce, you can whistle towards it. 
You can modify the button placement, size, and color on ServerInfo to be green, say 'Accept', and be in the bottom middle. This would act how you want it to, except for the kick from server. They couldn't technically close the window unless they accepted it, so you can assume they agreed. You can set  "ShowInfoOnPlayerInit": true, & "ShowInfoOnlyOncePerRuntime": true, both to true in the config, to show it on login, but not if they logged in earlier that day already.

CHANGE BUTTON: ServerInfo.cs lines 531 through 555:
private static CuiButton CreateCloseButton(string mainPanelName, string hexColor)
{
Color color;
ColorExtensions.TryParseHexString(hexColor, out color);
return new CuiButton
{
Button =
{
Command = string.Format("infoclose {0}", mainPanelName),
Close = mainPanelName,
Color = ColorExtensions.ToRustFormatString(color)
},
RectTransform =
{
AnchorMin = "0.7 0.01",
AnchorMax = "0.84 0.07"
},
Text =
{
Text = "Close",
FontSize = 18,
Align = TextAnchor.MiddleCenter
}
};
}​

The RectTransform section is the placement of the button. The 'coords' are the four points of the square button. Text = "Close", change to "Accept". The color is set in the config file with "CloseButtonColor": "#FF0000", which you would change to something like #80C904.

Annnnd I'm just realizing this is for Knoepert... Literally spoon feeding you code and solutions and it's probably not gonna work cuz... Knoepert.

Merged post

Yep, re-reading the 'requirements' this is a strictly custom on-join CUI if-then-else request from knoepert saying he won't pay for custom stuff unless you get it exactly correct the first time. 10 second kick timer, permissions blocked unless they accept. Yea, waste of time here.
"Annnnd I'm just realizing this is for Knoepert... Literally spoon feeding you code and solutions and it's probably not gonna work cuz... Knoepert." 

Listen, I dont pay for custom content randomly alright. If i would be paying people, there would be more reasons then just " ya gotta pay for it" messages into my inbox. People asking absurd prices. This solution on this post was also mentioned 3 times by others. 2 on my discord and 1 on here. Asking if I would pay 250 euro's for a damn plugin.

So, no your not spoonfeeding or anything. If you dont want to help me out or dont like me in what way ever, please move along and stop crying about a waste of time.

If you can provide me the chamber of commerce, then we can talk about being paid. If not, compensation is also a possibility. But for 250 euro's, i can eat and drink for a whole month. I dont mind to compensate for people their work. People that helping me out get compensated in many ways. 

One has a daughter of 7 years old and i bought them the whole Freddy fish franchise after a while because they helping me. For something belongs something. Money doenst make people happy, a smile and a laugh does.

Merged post

The topic can be closed. The plugin is in development.

While Ryan acted like a 12-year-old as in wasting his time on me ( why, dont know, dont care ), someone else offered his services and he does the work for a preorder of C&C remastered. That's what we need these days. People that can be happy with more than just money. 
5b6ed4c9ac8e4.jpg misticos
I can add such options to Info Menu since the plugin already exists and just lacks a few features like auto-open on (first) join and kick if does not agree. Feel free to suggest your ideas and how to implement this exactly.

Pity you cant resurrect RulesGui plugin which used to be available on Oxide and was not transferred over to Umod , i still use it with no problems, you show the rules you want players to follow and it has the accept and reject buttons , works great

5b7d22c4ef71f.jpg pookins

Pity you cant resurrect RulesGui plugin which used to be available on Oxide and was not transferred over to Umod , i still use it with no problems, you show the rules you want players to follow and it has the accept and reject buttons , works great

its pity indeed. I saw someone suggesting it as well with the question of why it wasn't transferred. They said it was going to be, but because of server info was there as well, they didn't see any reason for it. Saw it in a topic post in the "offtopic" section if I was correct. Wulff suggested to look into it but never came back on it. Date of it was 2018/19 ish? not sure tho. 

Merged post

I just had a conversation with a user on discord. He sent me the RulesGUI Raw data. Tested it and it works like a charm. Sad it's not listed here.

#topic closed.
Locked automatically