Garry's Mod

Garry's Mod

178 ratings
ULX Shortcut
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
62.899 KB
30 May, 2021 @ 7:17pm
27 Aug, 2021 @ 6:39am
6 Change Notes ( view )

Subscribe to download
ULX Shortcut

Description
What is 'ULX Shortcut'

It's a Shortcut Module for ulx commands!
Create shortcut for any ulx command that required target player(s) on scoreboard.
And you can make shortcut you want!
You can specify Ulx commands, icons, colors, and arguments.



Supported Gamemode

Sandbox
And... Any gamemodes if you know Lua. You can use APIs on this addon to make other gamemode scoreboard. Or please comment on this page about supporting gamemode you want.



Supported Commands

Any ULX command that required target player(s).



Supported Languages

English
한국어 (Korean)
日本語(Japanese)



How to Start?

Too simple!


1. Press 'Tap" (Open Scoreboard)

2. Press 'New' Button on scoreboard.

3. Select command you want make to shortcut.
If you have an Shortcut Array, Press 'Apply shared shortcuts' button on bottom, paste Array and press 'Apply'.

4. Set args and press 'Apply'.

5. Done!



How to make another shortcut?

1. Right click on any shortcut buttons.

2. And click 'Create A New Shortcut'.

3. Same as "How to Start?"



How to target players?

Click player nickname then, selected.
Click player nickname again then, deselected.

Or click 'Select All' then, all selected.
Click 'Reverse' then, reversed selected player(s).



Target players, and what?

* [When multiple users are selected]

They are all targeted when executing a command.
To execute commands to selected users, click the shortcut button belonging to any selected users.
For unselected users, click the shortcut button that each has. (In this case, the selected user is not targeted.)


* [When one user is selected]

nothing special. (It's the same as no one is selected.)


* [When all users are selected]

all users are targeted. (Same as *.)



Can i share my shortcut array to other users?

Yes.
Press right button any shortcut buttons, and click 'Copy My Shortcut Array' to copy, share to other users by Discord or something.



Also see on the Github.

https://github.com/Minbird/ULX_Shortcut

Please report bugs and errors to me.
14 Comments
ThroatyChunk 21 Dec, 2024 @ 11:53am 
why does this only work on singleplayer
resonance 2 Jan, 2024 @ 5:03pm 
useful for friends getting too feisty
xav07theboi 23 Oct, 2022 @ 4:06pm 
what is a shortcut array?
404_coffee.exe 18 Aug, 2022 @ 3:37am 
useful to stop my friends from nuking the server with a davvy crocket.
Bamsy 27 Aug, 2021 @ 12:09pm 
ahh, good to hear, i wonder if you could still get it to work with that scoreboard, becuase it already has some very simple kick jail and ban buttons, and there is alot of unused space when you click on someone
Minbirdragon  [author] 27 Aug, 2021 @ 6:22am 
Toggle button was in my plan when i make this.
but i didn't add this because i think it makes risk of inconsistency between button's toggle state and real state(ex: ragdolled or unragdolled).
i will add this feature when i find a good way to solve that problem :v
Minbirdragon  [author] 27 Aug, 2021 @ 5:10am 
That addon doesn't work with this. you should choose and use one only :steamsad:
um, and i will fix that error now.
Bamsy 27 Aug, 2021 @ 3:12am 
Bamsy 25 Aug, 2021 @ 11:53am 
[ULX Shortcut] lua/ulxshortcut/ui/sandbox_default.lua:336: Tried to use a NULL entity!
1. GetVoiceVolumeScale - [C]:-1
2. unknown - lua/ulxshortcut/ui/sandbox_default.lua:336
Bamsy 25 Aug, 2021 @ 7:19am 
could you add a feature that lets it so you can toggle a button instead of them being separate ?