Exemplo n.º 1
0
 public virtual Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem();
     DialogItem.title      = "Help";
     DialogItem.header     = GetCommandText();
     DialogItem.content    = GetHelp();
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 2
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title = "Help";
     DialogItem.header = "";
     DialogItem.content = GetHelp( );
     DialogItem.buttonText = "close";
     return DialogItem;
 }
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title      = "Help";
     DialogItem.header     = "";
     DialogItem.content    = GetHelp( );
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem dialogItem = new Communication.ServerDialogItem
     {
         title      = "Help",
         header     = "",
         content    = GetHelp( ),
         buttonText = "close"
     };
     return(dialogItem);
 }
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem dialogItem = new Communication.ServerDialogItem
                                                 {
                                                     title = "Help",
                                                     header = "",
                                                     content = GetHelp( ),
                                                     buttonText = "close"
                                                 };
     return dialogItem;
 }
Exemplo n.º 6
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Block Enforcement";
     DialogItem.content = "This command lets you enable or disable Block Enforcement.||" +
                          "Usage: /settings setblockenforcement <true/false>|" +
                          "Running the command with no argument will return the current setting.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 7
0
 public override Communication.ServerDialogItem GetHelpDialog()
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Admin Conceal";
     DialogItem.content =
         "This command gives you a list of concealed grids.|" +
         "Use the force argument to force Essentials to process grids to conceal immediately.||" +
         "Usage: /admin conceal <force>";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 8
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Block Enforcement";
     DialogItem.content = "This command retreives Block Enforcement items.||" +
                          "Usage: /settings setblockenforcement <index>|" +
                          "Running the command without the index argument returns a simplified list of items, " +
                          "run the command again with the number of the item you want more details for.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 9
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Admin Reveal";
     DialogItem.content =
         " This command allows you to reveal concealed grids.|" +
         "Usage: /admin reveal (force) - this command without 'force' only show you how many grids would be revealed.||" +
         "This command will run when concealment is disabled, and respects the update time setting.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 10
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Block Enforcement";
     DialogItem.content = "This command lets you configure Block Enforcement.||" +
                          "Usage: /settings setblockenforcement <mode> <typeID> <maxPerGrid> (reachWarning) (exceedWarning)|" +
                          "Mode is 0 for disabled, 1 filters by typeID, and 2 by subtypeID.|" +
                          "Warning messages will be displayed when the player reaches and exceeds the max count of any block type. " +
                          "Messages are optional, but if used, they must be enclosed in quotation marks.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 11
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Admin Stop";
     DialogItem.content = "This command allows you to stop objects in the world.||" +
                          "You must use at least one argument in the command. available arguments are (all), (floating), (ships)|" +
                          "\"all\" will stop all floating objects (ore, components, backpacks), as well as unpiloted ships.|" +
                          "\"floating\" will stop only floating objects.|" +
                          "\"ships\" will stop only unpiloted ships.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "MOTD";
     DialogItem.content = "This command lets you set the message of the day.||" +
                          "Usage: /settings setmotd < enabled > < message > < title > < header > < button >|" +
                          "'Enabled' is the only required argument, and must be 'true' or 'false'.|" +
                          "Arguments with multiple words must be wrapped in quotations, and line breaks can be added with the pipe character.||" +
                          "This window would be made with: /settings setmotd enabled \"lots of text here\" Help MOTD close";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
     DialogItem.title   = "Help";
     DialogItem.header  = "Block Enforcement";
     DialogItem.content = "This command lets you remove a Block Enforcement item.||" +
                          "Usage: /settings removeblockenforcement <index>|" +
                          "This command will remove the block enforcement item at the given index.|" +
                          "Running the command without the index argument will return a simplified list of enforcement items. " +
                          "Use the '/settings getblockenforcement' command for more information.";
     DialogItem.buttonText = "close";
     return(DialogItem);
 }
Exemplo n.º 14
0
        public override Communication.ServerDialogItem GetHelpDialog( )
        {
            string fontList = GetFontList( ).Replace(",", "|");

            Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
            DialogItem.title   = "Help";
            DialogItem.header  = "Admin Notification";
            DialogItem.content = "This will broadcast a notification to all users.|" +
                                 "Usage: /admin notify <color> <time> <message>|" +
                                 "Message will be displayed for the number of seconds given in the <time> argument.||" +
                                 "Colors:| " + fontList;
            DialogItem.buttonText = "close";
            return(DialogItem);
        }
Exemplo n.º 15
0
        public override Communication.ServerDialogItem GetHelpDialog( )
        {
            string results = PluginSettings.Instance.GetOrSetSettings("").Replace("\r\n", "| ");

            Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem( );
            DialogItem.title   = "Help";
            DialogItem.header  = "Admin Settings";
            DialogItem.content = " Allows you to configure settings in Essentials.|" +
                                 "Type /admin settings to get a list of available settings and their current values.|" +
                                 "Using the command without a set argument will return the current setting for that item.||" +
                                 "Current settings:| " + results;
            DialogItem.buttonText = "close";
            return(DialogItem);
        }
Exemplo n.º 16
0
 public override Communication.ServerDialogItem GetHelpDialog( )
 {
     var dialogItem = new Communication.ServerDialogItem
                      {
                          title = "Help",
                          header = "/revoke",
                          buttonText = "close",
                          content = "Revokes ownership of blocks handled by player block enforcement. |" +
                                    "Use /revoke list to get a list of block types you can revoke ownership of, " +
                                    "then use /revoke (blocktype) to revoke ownership of ALL blocks of that type. |" +
                                    "Blocks you revoke ownership of will be reduced to 1% build state and the components " +
                                    "will be left in place."
                      };
     return dialogItem;
 }
Exemplo n.º 17
0
        public override Communication.ServerDialogItem GetHelpDialog( )
        {
            var dialogItem = new Communication.ServerDialogItem
            {
                title      = "Help",
                header     = "/revoke",
                buttonText = "close",
                content    = "Revokes ownership of blocks handled by player block enforcement. |" +
                             "Use /revoke list to get a list of block types you can revoke ownership of, " +
                             "then use /revoke (blocktype) to revoke ownership of ALL blocks of that type. |" +
                             "Blocks you revoke ownership of will be reduced to 1% build state and the components " +
                             "will be left in place."
            };

            return(dialogItem);
        }
Exemplo n.º 18
0
 public virtual Communication.ServerDialogItem GetHelpDialog( )
 {
     Communication.ServerDialogItem DialogItem = new Communication.ServerDialogItem();
     DialogItem.title = "Help";
     DialogItem.header = GetCommandText();
     DialogItem.content = GetHelp();
     DialogItem.buttonText = "close";
     return DialogItem;
 }