Jump to content

Test showing at bottom and not at top

Closed 1.0.2

DABRIT
DABRIT

Posted

Hello

So i edited the plugin as i want it to show but all text starts at the middle and also cuts off some writing.

 

If there a way to fix that?

 

Also is there a way not to have it show the infoscreen on the whole screen.

  • Administrator
Steenamaroo

Posted

Edit the user config, not the plugin.
Font size, alignment, and position are all user customisable.

DABRIT

Posted

12 minutes ago, Steenamaroo said:

Edit the user config, not the plugin.
Font size, alignment, and position are all user customisable.

that is the file i am editing but confused how to do the above i was asking.

{
  "Global": {
    "PermaUIButton": false,
    "SideNav": false,
    "OnlyShowOnce": false,
    "NumberOfPages": 4,
    "GuiTransparency": 100,
    "ButtonColour": "0,100,0,1",
    "ButtonColourSelected": "0,200,0,1"
  },
  "Pages": {
    "Welcome": {
      "ImageElements": {
        "BackGround": {
          "URL": "https://i.imgur.com/EjpVYSb.jpg",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "TextElements": {
        "Title": {
          "Content": "Welcome",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        },
        "Content": {
          "Content": "Welcome to CodeRed 2x Server\n Our server full wipes every <color=red>first thursday of the month</color> the next wipe will be <color=red>06/08/2020</color>\n Our server is modded with some of the best mods for rust for your enjoyment.\n We decided to go with a 2x server to help people that have been raided to start over again very fast.\n We have AI Raidable bases that spawn every 60 mins with nice loot.\n For support and to find players to join your group join our discord @ <color=red> discord.gg/eJ4cJJN </color>\n Please read all the tabs <color=red>Rules</color> & <color=red>Mods</color> to know more about the server.\n Thank you for playing on CodeRed 2x Server don't forget to invite your buddys along!!\n",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,0.5",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "VisibleTo": "default,somegroup"
    },
    "Rules": {
      "ImageElements": {
        "BackGround": {
          "URL": "https://i.imgur.com/EjpVYSb.jpg",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "TextElements": {
        "Title": {
          "Content": "Rules",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        },
        "Content": {
          "Content": "Rules are to make sure the server runs fine, please follow them and all will be good!\n These rules may be changed at any time keep checking back every now and then. \n\n - English in chat. \n - No Stream Sniping. \n - No Racism, Homophobia or Excessive Toxicity. \n - No Advertising. \n - No Cheating/Hacking Instant Ban!!. \n - Staff have final say, being toxic to staff will get you automatically removed. \n- Any association with a gamebanned rust account or playing with a user with a old gamebanned rust account will cause you to be banned. \n - You are allowed to create raid agreements where each party won't raid the other. \n - No limit on Teams. \n - Trading is allowed, however it must be made via safezones / vending machine / shopfronts. \n",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,0.5",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "VisibleTo": "default,somegroup"
    },
    "Mods": {
      "ImageElements": {
        "BackGround": {
          "URL": "https://i.imgur.com/EjpVYSb.jpg",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "TextElements": {
        "Title": {
          "Content": "Mods",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        },
        "Content": {
          "Content": "Below is what Mods are added onto the CodeRed 2x Server and what each Mod does , these Mods may be changed or edited over time to best fit the needs of the rust Server, Updated 04/08/2020\n\n Added - Furnace Splitter - Splits up ores into equal stacks when you put them into furnaces.\n Added - Time Of Day - Day is set to double the amount of time on default server with night only being 3-5 mins long.\n Added - Stack Size Controller - Changed Resources to stack to stacks of 3000 , Food to 100 , Scrap to 3000, Medical to 100.\n Added - Gather Manager - Resources x2.\n Added - Quick Smelt - 25% More Speed\n Added - Welcome - States in Global chat when some one joins and leaves the server. \n Added - Info Panel - Shows ingame time on server, shows how many players are on the server and how many are sleeping , shows when a airdrop, plane, boat drops a drop, and a few more.\n Added - Mini Copter Options - You can now add a create for storage with the car lift.\n Added - Server Info - This shows a info box when using /info in game. \n Added - Raidable Bases - Read NPC Bases Tab for more info on this mod.\n Added - Simple Sort - Adds a Sort button at the bottom of storage crates to sort by item and into stacks.\n Added - SkinBox - Use /skin in game chat will open a box , drag the item you want to skin and pull out the skin you want to use for that skin.\n Added - Whoaboy - Horse stops after you get off the Horse.\n Added - Crafting Controller -  Items craft at half the time of a default server.\n Added - Unburnable Meat -  Meat no longer Burns.\n Added - BetterLoot - Double the amount of scrap now drops from loot, also edited a few items to drop from airdrop, locked create , Bradly.\n\n For the full list of mods on the server visit discord @ <color=red> discord.gg/eJ4cJJN </color>",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,0.5",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "VisibleTo": "default,somegroup"
    },
    "NPC Bases": {
      "ImageElements": {
        "BackGround": {
          "URL": "https://i.imgur.com/EjpVYSb.jpg",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "TextElements": {
        "Title": {
          "Content": "NPC Bases",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,1.0",
          "PosLeftToRight": "0.0,1.0"
        },
        "Content": {
          "Content": "Default Text",
          "FontSize": 16,
          "AlignTopMiddleBottom": "top",
          "AlignLeftMiddleRight": "middle",
          "FontColour": "255,255,255,1",
          "GoBehindNav": false,
          "ShowOnSubPages": "0",
          "PosBottomToTop": "0.0,0.5",
          "PosLeftToRight": "0.0,1.0"
        }
      },
      "VisibleTo": "default,somegroup"
    }
  }
}

 

  • Administrator
Steenamaroo

Posted

There's a description/examples of how positioning top/bottom and left/right work in the plugin description.
Those set the boundaries for the box or container.

 

If text is being clipped then you either need to use more line breaks, reduce the font size, or increase the box/container boundaries.

  • Administrator
Steenamaroo

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.