Garry's Mod

Garry's Mod

UUIS: Universal Union Item Spawner
65 Comments
Bamsy 4 Jan, 2021 @ 1:07am 
keep in mind this addon is OLD. VERY OLD. AND HASNT BEEN UPDATED SINCE 2014! any bugs you people may have most likely will never be fixed!
Dookin 28 Jun, 2020 @ 10:11pm 
Ah crap this wold be perfect to use on my server but it dont seem to work just gives me a lua error

[ERROR] lua/includes/modules/concommand.lua:72: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:72 (x5)
Dornek 16 Feb, 2020 @ 4:39am 
nothing seems to spawn, with or without spawnpoints, what is the cause?
CollChuuk 31 Oct, 2019 @ 4:47pm 
No matter how i look at it, the "uuis_add_spawnpoint" command isn't there. Am i doing something wrong?
SajLenc 31 Oct, 2019 @ 8:29am 
k ty
TOASTEngineer  [author] 30 Oct, 2019 @ 3:24pm 
Nope, just sandbox.

@SajLenc

Weight is a number, things where you put a bigger number in will appear more often than things where you put a smaller number. The item name has to be GMod's internal name for the item you want; I think you can get it by right clicking things in the weapons/entities menu? At least you could back in 2014.
CollChuuk 29 Oct, 2019 @ 12:12pm 
Taost Eng. That's understandable. But maybe it'll work if i try other gamemodes. Back when you created this, did you test it with other gamemodes?
SajLenc 29 Oct, 2019 @ 4:10am 
uuis_add_item weight itemname
where do I find weight and itemname?
TOASTEngineer  [author] 28 Oct, 2019 @ 9:27am 
I mean, this addon is 5 years old, it might just be broken. uuis_add_spawnpoint is only available if you are an admin (which you always are when you're playing single player)
CollChuuk 27 Oct, 2019 @ 9:20pm 
The command "uuis_add_spawnpoint" doesn't seem to even exist.
CollChuuk 27 Oct, 2019 @ 9:18pm 
I'm having trouble getting this addon to work. Is it even sandbox supported? If not, then what gamemodes does support?
Smungaloid 12 Sep, 2019 @ 5:24am 
is there a way to save spawnlists between games?
PUG-alo 5 Aug, 2019 @ 3:03am 
How do i remove spawnpoints anyway? I can't find related command
PUG-alo 5 Aug, 2019 @ 2:48am 
Spits errors at me, tried putting weight first, still were errors everytime I typed a symbol
Salil Al-Sawarim 400BPM Edit 27 Jan, 2019 @ 1:31am 
any way this could have a weapon limit? Like, a limit on the amount of weapon SENTs that are spawned?
Bumface 30 Dec, 2018 @ 6:26pm 
Oh well, thanks anyway.
TOASTEngineer  [author] 29 Dec, 2018 @ 11:42am 
It does not.
Bumface 29 Dec, 2018 @ 4:54am 
Does this work with dupes? I'd like to spawn some of my dupes with this.
Dornek 14 Jan, 2018 @ 5:27am 
it kind of works but the items spawn just rarely and i dont know why
BrainyPepper 10 Sep, 2017 @ 2:35pm 
It's quite nice, but I would like a menu to add items.
TOASTEngineer  [author] 12 Sep, 2016 @ 9:56am 
@In-animate sens-i-a-tion
Bigger = more chance to spawn

@poop
How exactly isn't it working? Have you tried putting "uuis_enabled 1" in the console?
Sexual Misconduct 10 Sep, 2016 @ 9:49pm 
How does weighting work? Is a big number a better chance or a low number?
B2B InsaneScientist 2 Aug, 2016 @ 9:09am 
How to auto add stuff to a list?
8Z 27 Jan, 2016 @ 4:58pm 
Apparently it does, thankfully.
TOASTEngineer  [author] 27 Jan, 2016 @ 6:11am 
@8Z I have no idea. Try it and find out, I guess.
8Z 25 Jan, 2016 @ 10:51am 
So, does this still work?
SLL x Markoiz 15 Jan, 2016 @ 11:28am 
i would like to add item like cw 2.0 but it doesn't work
TOASTEngineer  [author] 11 Jun, 2015 @ 8:33pm 
@JF\CK
No, it works on listen/SP. In that case your console is both the server and client console.

If it's on and the uuis_* cvars all look okay, I don't know what else to say. Maybe it really is broken.
MDK 11 Jun, 2015 @ 3:40am 
So, basically, what you are saying, is that this wouldn't work on a listen server/single player, only on a dedicated server? If so I'll have to test it again, as I couldn't be arsed to immediately upload it just to test it out.

And yes, UUIS was enabled, I'm not that stupid.
TOASTEngineer  [author] 10 Jun, 2015 @ 6:40pm 
@JF/CK
If it was broken I'd *expect* an error message; if you're not getting one it's more likely you've done something wrong.

It's been literally years since I last touched this so I really don't remember how it works *exactly*. If you put "find uuis_" in the server console (important - it has to be the SERVER console) it'll show you all the commands UUIS gives you.

Have you checked that UUIS is actually turned on? What exactly happens when you try uuis_add_spawnpoint? That's designed to be used by a player, by the way, not from the server, and it puts the spawnpoint at your feet. The player using it has to be an admin.

There's also commands to add entitty-weight pairs to the list; that list is persistent (i.e. if you add an item, turn off the server or change the map, and come back, it'll still be there). Spawnpoints are persistent too, of course, though the spawnpoints are specific to the map they were added on. The files for both are in garrysmod/data/uuis/.
MDK 10 Jun, 2015 @ 10:06am 
@Schilcote Nothing entirely, it might be my fault, not sure, but I seem to be unable to use uuis_add_spawnpoint entirely, no items seem to spawn at random either, regardless of settings.


I'm also completely incapable of common logic so I might be missing something.

Is it perhaps possible to make a custom ent/item spawnlist as well? I would love to use this for a survival server I am working on.
TOASTEngineer  [author] 10 Jun, 2015 @ 7:07am 
@JF\CK
Specific error message or...?
MDK 8 Jun, 2015 @ 4:51am 
It appears that this mod no longer works.
Sturm-Falke101 16 Dec, 2014 @ 8:53pm 
None that I can see, maybe it gets buried under the server startup stuff?
Would be great if you could add me, gamemode is near completion and it basically relies on uuis, lol
TOASTEngineer  [author] 16 Dec, 2014 @ 8:08pm 
@Sturm-Falke101

Not that I know of. Error message?
Sturm-Falke101 16 Dec, 2014 @ 1:59pm 
Is there any reason this simply wouldn't work on a server but works fine on singleplayer?
TOASTEngineer  [author] 11 Oct, 2014 @ 6:30pm 
Well, now ya' know.
Lolkat 11 Oct, 2014 @ 6:25pm 
Oh my...
I was using the format of the command on the previous page of comments, didn't know it changed.
TOASTEngineer  [author] 11 Oct, 2014 @ 3:01pm 
You're putting the command in wrong. Weight comes first.
Lolkat 11 Oct, 2014 @ 9:54am 
http://puu.sh/c8fMf/adbc4afe9d.png
What happens when I add an item and check it with list.
http://puu.sh/c8fOJ/f1105e2052.png
Error message. May be incompatible with parakeet's pill pack...
http://puu.sh/c8fSa/4b9b731a10.png
After adding an item, this message comes up on every spawn attempt. Alongside this, it spews every addon with a lua/autorun folder out above it in white text.
TOASTEngineer  [author] 11 Oct, 2014 @ 8:47am 
Are you sure that's the whole error message? 'Cos that isn't coming from UUIS.
Lolkat 11 Oct, 2014 @ 8:06am 
uuis_add_item weapon_bp_flamethrower 10
Also, it spews out this lua error every time i type in a character:

[ERROR] lua/includes/modules/concommand.lua:89: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:89
TOASTEngineer  [author] 11 Oct, 2014 @ 7:47am 
@Lolkat
Can you tell me the exact command you tried?
Lolkat 10 Oct, 2014 @ 11:55am 
I'm having the same issue, I use the uuis_add_item command with the proper item name and a weight but them it causes lua errors about calling the hook "AddItem" I think.
TOASTEngineer  [author] 10 Oct, 2014 @ 6:34am 
@Lolkat
I'm not aware of any at the moment. I've more or less stopped playing GMod, but if its a simple fix I'll likely go back and repair it.

I dunno what that broli guy's problem is.
Lolkat 9 Oct, 2014 @ 4:23pm 
Do you plan on fixing all the errors?
Sexual Misconduct 27 Jul, 2014 @ 12:36am 
Plus, it seems every time I want to add an item to the list I get a lua error, and it breaks the spawning.
Sexual Misconduct 27 Jul, 2014 @ 12:14am 
Hmm... Good addon, but you should see about making it a tool/utilities selection. Not comcmnds. They get tedious, and often give errors.
TOASTEngineer  [author] 23 Jul, 2014 @ 10:18am 
@My Lord
You'll have to figure out what the entity name is for it. You might be able to find out by right-clicking on the SENT you want in the Q-Menu and clicking "Copy to Clipboard", then pasting it in the console.

So once you have it, if it was for example "darkrp_food", you'd then type (and I gave the wrong concmd in my last comment, sorry) "uuis_add_item darkrp_food 10". The number at the end is a spawn weight, and the higher it is the more often the addon will choose that item when it tries to spawn something.
Sens0ry 0verl0ard 23 Jul, 2014 @ 10:09am 
then how do I add dark RP food?