Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OC = {}
- OC.SidePanelList = {}
- OC.SidePanelColor = {}
- OC.TopPanelColor = {}
- OC.MainPageColor = {}
- OC.SurveyQuestions = {}
- OC.BugQuestions = {}
- OC.SuggestionQuestions = {}
- OC.ReviewQuestions = {}
- OC.ApplicationQuestions = {}
- function AddSurveyQuestion(question, type, helptext, table )
- OC.SurveyQuestions[#OC.SurveyQuestions+1] = {Q = question, T = type, H = helptext, O = table}
- end
- function AddBugQuestion(question, type, helptext, table)
- OC.BugQuestions[#OC.BugQuestions+1] = {Q = question, T = type, H = helptext, O = table}
- end
- function AddReviewQuestion(question)
- OC.ReviewQuestions[#OC.ReviewQuestions+1] = {Q = question}
- end
- function AddSuggestionQuestion(question, type, helptext, table)
- OC.SuggestionQuestions[#OC.SuggestionQuestions+1] = {Q = question, T = type, H = helptext, O = table}
- end
- function AddApplicationQuestion(question, type, helptext, table)
- OC.ApplicationQuestions[#OC.ApplicationQuestions+1] = {Q = question, T = type, H = helptext, O = table}
- end
- --------------------------------------------------------------------------------------------------------------
- -------Touching anything above this line will most likely mess something up. Please do not touch above.-------
- --------------------------------------------------------------------------------------------------------------
- ////////////////////////////////////////////////////////////////
- ////////------------------------------------------------////////
- ////////----------DO NOT TOUCH ANYTHING ABOVE!----------////////
- ////////------------------------------------------------////////
- ////////////////////////////////////////////////////////////////
- --------------------------------------------------------------------------------------------------------------
- -------Touching anything above this line will most likely mess something up. Please do not touch above.-------
- --------------------------------------------------------------------------------------------------------------
- OC.EnableChatCommand = true --True enables the ability to type something in chat to open the menu. False disables that ability.
- OC.PlayerChatCommand = "!feedback" --If the above is true, this will be the chat command to open the menu.
- OC.EnableFKey = false --True enables the possibilty to use an Fkey to open the menu. False disables that ability.
- OC.FKeyCommand = KEY_F10 --If the above is true, this will be the FKey that you will press to open the menu. Please use this as a guide: http://wiki.garrysmod.com/page/Enums/KEY
- OC.DisplayOpenInChat = true --True will show a message in chat to everyone saying that the menu was opened.
- OC.Debug = false --This activates the developer mode. In the developer mode, almost every action will display things in console. I suggest to keep this off (false).
- OC.OneSurveyEach = true --True makes it so that a player can only submit one survey. False makes it have no limit.
- OC.OneReviewEach = true --True makes it so that a player can only submit one review. False makes it have no limit.
- OC.OneApplicationEach = true --True makes it so that a player can only submit one application. False makes it have no limit.
- OC.RewardForSurvey = false --Allow people to get rewards for submitting a Survey.
- OC.RewardSurveyType = "darkrp" --Options are darkrp, pointshop, and pointshop2. Keep lowercase.
- OC.RewardSurveyAmt = 0 --The amount of reward a player can get from doing a Survey.
- OC.RewardForReview = false --Allow people to get rewards for submitting a Review.
- OC.RewardReviewType = "darkrp" --Options are darkrp, pointshop, and pointshop2. Keep lowercase.
- OC.RewardReviewAmt = 0 --The amount of reward a player can get from doing a Review.
- OC.SuggestionStatus = { --These are the options for different stages of the suggstions.
- "Voting",
- "Implemented",
- "Denied",
- "Implementing"
- }
- OC.ApplicationStatus = { --Options for the applications. If you would like it to auto add the people, contact me. I will give you the code.
- "Voting",
- "Denied",
- "Accepted"
- }
- OC.BugStatus = { --These are the options for different stages of the bug.
- "Investigating",
- "Fixed",
- "Inconclusive",
- "Uh, Oh"
- }
- --WHEN ADDING IN RANKS, MAKE SURE THEY ARE ALL LOWERCASE. EVEN IF YOU HAVE THEN CAPITALIZED--
- OC.OrionAdmin = { --These are the ranks that can change the stages/status of most things as well as can see the admin only sidebar tabs.
- "superadmin"
- }
- OC.OrionSuperAdmin = { --These are the ranks that can change the stages/status of an application.
- "superadmin"
- }
- --Most of the colors are self explanatory. If you want greater detail, alter the color and see what is affected.
- OC.SidePanelColor.DarkLine = Color(46, 53, 71, 255)
- OC.SidePanelColor.LightLine = Color(61, 72, 90, 255)
- OC.SidePanelColor.SleectedLine = Color(39, 164, 245, 255)
- OC.SidePanelColor.SelectedButton = Color(47, 57, 72, 255)
- OC.SidePanelColor.CategoryText = Color(93, 106, 127, 255)
- OC.SidePanelColor.ButtonText = Color(161, 171, 189, 255)
- OC.SidePanelColor.SelectedButtonText = Color(231, 231, 231, 231)
- OC.SidePanelColor.Background = Color(53, 64, 81, 255)
- OC.TopPanelColor.CloseButton = Color(216, 56, 68, 255)
- OC.TopPanelColor.Background = Color(255, 255, 255, 255)
- OC.TopPanelColor.LineSeperator = Color(238, 239, 243, 255)
- OC.MainPageColor.BoxColor = Color(236, 242, 246, 255)
- OC.MainPageColor.BoxOutlineColor = Color(216, 223, 229, 255)
- OC.MainPageColor.PrimaryColor = Color(66, 187, 192, 255)
- OC.MainPageColor.StatusBar = Color(217, 228, 234, 255)
- OC.MainPageColor.SecondaryColor = Color(216, 223, 229, 255)
- OC.MainPageColor.BottomButton = Color(112, 125, 147, 255)
- OC.MainPageColor.BottomButtonText = Color(241, 241, 241, 255)
- OC.MainPageColor.QuestionTextColor = Color(110, 116, 123, 255)
- OC.MainPageColor.AnswerTextColor = Color(169, 177, 188, 255)
- OC.MainPageColor.NameColor = Color(62, 73, 89, 255)
- OC.MainPageColor.OtherColor = Color(160, 167, 173, 255)
- /*****************************************************************************************************************************************************************
- ** Now here is the fun part..... The suggestion questions cannot be altered as it will mess up the viewing. That is the same with bug questions except for one.**
- ** **
- ** --For Survey and Application Questions-- *********************************************
- ** AddSurveyQuestion("This is where the question goes!", "This is where you can pick from 4 different types. You can choose from: MultipleChoice, ChoiceOption, SingleLineTextBox, or MultiLineTextBox", **
- ** "Now we have our Hint. It all0ws players to have an idea of what to put in the place.", { *********************************************
- ** "To finish it off, we end with a table. This is only necessary when you are doing multiple choice and choice option. More Details Below!"}) **
- ** **
- ** --For Bug Question-- **
- ** As of right now, there is only one bug question that is editable. It MUST stay as a ChoiceOption. You can edit the things in the table. **
- ** **
- ** --For Review Questions-- **
- ** For the review questions, you are only able to enter questions. The player will be able to rate the quality of your question out of 5 stars. **
- *****************************************************************************************************************************************************************/
- AddSurveyQuestion("How old are you?", "ChoiceOption", "Pick an option!", {
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18"
- } )
- AddSurveyQuestion("Do you like the server?", "MultipleChoice", "Something Here!", {
- "I LOVE IT!",
- "I enjoy it.",
- "I dislike it.",
- "I HATE IT!"
- } )AddSurveyQuestion("Do you like the server?", "MultipleChoice", "Something Here!", {
- "I LOVE IT!",
- "I enjoy it.",
- "I dislike it.",
- "I HATE IT!"
- } )
- AddSurveyQuestion("Who is your favorite player?", "SingleLineTextBox", "Name a player...", {
- ""--For Text Boxes leave them like this!
- } )
- AddSurveyQuestion("What was your favorite thing that happened on the server?", "MultiLineTextBox", "Write a story...", {
- ""--For Text Boxes leave them like this!
- } )
- AddBugQuestion("What is your issue?", "ChoiceOption", "Select an Issue", {
- "Weapons",
- "NPC",
- "Menu",
- "Other"
- })
- AddApplicationQuestion("How old are you?", "ChoiceOption", "Pick an option!", {
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18"
- } )
- AddApplicationQuestion("Are you allowed to randomly kill someone(RDM)?", "MultipleChoice", "Something Here!", {
- "Yes",
- "No",
- "Of Course",
- "Giant Red Dildo"
- } )
- AddApplicationQuestion("How long have you played on the server?", "MultipleChoice", "Something Here!", {
- "First Day",
- "2-5 Days",
- "6-10 Days",
- "11+ Days"
- } )
- AddSurveyQuestion("Who is your favorite admin?", "SingleLineTextBox", "Name an admin...", {
- ""--For Text Boxes leave them like this!
- } )
- AddSurveyQuestion("Why do you want to be staff?", "MultiLineTextBox", "Explain yourself...", {
- ""--For Text Boxes leave them like this!
- } )
- AddReviewQuestion("Admin Service")
- AddReviewQuestion("Server Performance")
- AddReviewQuestion("Addon Selection")
- AddReviewQuestion("Job Selection")
- AddReviewQuestion("Player Base")
- AddReviewQuestion("Overall Expierience")
- /*****************************************************************************************************************************************************************
- ** Now we get to the categories. This applies to everything that appears in the side menu. You can disable, enable, and make them admin only. **
- ** **
- ** --BE VERY CAREFUL. ANYTHING YOU MESS WITH HERE MAY CAUSE ISSUES-- **
- ** **
- ** OC.SidePanelList.Feedback will be any form. To get rid of one showing up just put 2 dashes in front of it. To make it admin only, put admin to true. **
- ** **
- ** OC.SidePanelList.View will be any viewing. To get rid of one showing up, just put 2 dashes in front of it. To make it admin only, put admin to true. **
- *****************************************************************************************************************************************************************/
- OC.SidePanelList.Feedback = {
- BUGS = {Name = "BUG FORM", Func = function() OpenBugForm() end, Admin = false},
- REVIEW = {Name = "REVIEW FORM", Func = function() OrionFormReviewStart() end, Admin = false},
- SUGGESTIONS = {Name = "SUGGESTION FORM", Func = function() OpenSuggestionForm() end, Admin = false},
- SURVEY = {Name = "SURVEY FORM", Func = function() OrionFormSurveyStart() end, Admin = false},
- APPLICATION = {Name = "APPLICATION FORM", Func = function() OrionFormApplicationStart() end, Admin = false},
- }
- OC.SidePanelList.View = {
- BUGS = {Name = "BUGS", Func = function() OrionOpenBugStart() end},
- STATISTICS = {Name = "STATISTICS", Func = function() OrionOpenStatiticsStart() end, Admin = false},
- REVIEW = {Name = "REVIEWS", Func = function() OrionOpenReviewStart() end, Admin = false},
- SUGGESTIONS = {Name = "SUGGESTIONS", Func = function() OrionOpenSuggestionStart() end, Admin = false},
- SURVEY = {Name = "SURVEYS", Func = function() OrionOpenSurveyStart() end, Admin = false},
- APPLICATION = {Name = "APPLICATIONS", Func = function() OrionOpenApplicationStart() end, Admin = true}
- }
- --------------------------------------------------------------------------------------------------------------
- -------Touching anything below this line will most likely mess something up. Please do not touch below.-------
- --------------------------------------------------------------------------------------------------------------
- ////////////////////////////////////////////////////////////////
- ////////------------------------------------------------////////
- ////////----------DO NOT TOUCH ANYTHING BELOW!----------////////
- ////////------------------------------------------------////////
- ////////////////////////////////////////////////////////////////
- --------------------------------------------------------------------------------------------------------------
- -------Touching anything below this line will most likely mess something up. Please do not touch below.-------
- --------------------------------------------------------------------------------------------------------------
- OC.SidePanelList.Admin = {
- --STATISTICS = {Name = "STATISTICS"}
- }
- AddSuggestionQuestion("What is the title of suggestion?", "SingleLineTextBox", "Title...", {
- ""--For Text Boxes leave them like this!
- } )
- AddSuggestionQuestion("What is the type of suggestion?", "ChoiceOption", "Select a Type", {
- "Weapon",
- "Addon",
- "SWEP",
- "Vehicle",
- "Tool",
- "Map",
- "Other"
- } )
- AddSuggestionQuestion("Give a brief description of your suggestion.", "MultiLineTextBox", "Brief Description...", {
- ""--For Text Boxes leave them like this!
- } )
- AddBugQuestion("When did this issue occur?", "SingleLineTextBox", "Time when this happened", {
- ""--For Text Boxes leave them like this!
- } )
- AddBugQuestion("Short Description of the issue.", "MultiLineTextBox", "What happened...", {
- ""--For Text Boxes leave them like this!
- } )
- AddBugQuestion("What caused this issue?", "MultiLineTextBox", "What caused it...", {
- ""--For Text Boxes leave them like this!
- } )
- AddBugQuestion("If you have one, please include the lua error.", "MultiLineTextBox", "Lua Error...", {
- ""--For Text Boxes leave them like this!
- } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement