• Print

Author Topic: Reset XGUI Theme  (Read 3973 times)

0 Members and 1 Guest are viewing this topic.

Offline Gabriel4321

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Reset XGUI Theme
« on: March 29, 2018, 03:51:38 pm »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63d (02/16/18)
ULX v3.73d (02/11/18)

Game mode(s) I am having this problem on:
DarkRP


Very simply, one of my staff members was being silly and decided to mess with XGUI visual settings (colors, animations, etc.) for himself.

Two questions: 1. Is there a way to disable custom XGUI settings for clients, and 2. how can I reset my staff member's XGUI (it's completely blank and non-functional)?

Thanks! :)

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Reset XGUI Theme
« Reply #1 on: March 30, 2018, 09:53:24 am »
1. Unfortunately, there is no way to disable the client-side configuration settings.

2. The easiest way to fix his issue is for him to modify his data/ulx/xgui_settings.txt file- either delete it entirely or find the "skin" line and replace the value with "Default".

You might be able to fix it while he's on the server by having him run these console commands (or by sending them from your server to his client):
Code: Lua
  1. xgui.settings.skin = "Default"
  2. xgui.base:SetSkin( xgui.settings.skin )
  3. xgui.saveClientSettings()
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Gabriel4321

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: Reset XGUI Theme
« Reply #2 on: March 30, 2018, 09:09:21 pm »
All set, thanks! :)

  • Print