Garry's Mod

Garry's Mod

Not enough ratings
Partly Adequate Mapvote
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
25.553 KB
3 Jan, 2022 @ 4:47am
5 Feb, 2023 @ 12:08pm
9 Change Notes ( view )

Subscribe to download
Partly Adequate Mapvote

Description
Disclaimer
PAM doesn't come with any gui. Make sure to also subscribe to an addon that provides ui. (e.g.: Dark Votescreen or Mapvote-Like Map Voting)

Description
This Garry's Mod addon adds a comfortable way to democratically vote on maps. An older version is still available here.
This addon already works for terrortown. The PAM Compatibility Pack provides support for some more gamemodes. There is an easy to use api[github.com] to make this work for even more gamemodes as well.

The code is available here [github.com].
In case you encounter any problems, feel free to open a new issue here [github.com].

For more information please visit the wiki [github.com].

Easy to configure
PAM is configured via Pacoman.
Proper instructions and a list with examples can be found here[github.com].

Different Vote Types
  • Lottery Voting (All votes are equally important)
  • Plurality Voting (The option with the highest number of votes wins)

Extensions
Extensions are addons which can extend PAM's functionality.
E.g.:

Powerful Map filtering
It's possible to specify prefixes which maps must have at least one of. There is a whitelist and a blacklist to allow/remove specific maps.

Playcounts
PAM saves how often each map was played on a server.

Commands
  • The command "pam_toggle_menu" toggles visibility of the votescreen.

QOL
  • Adds ULX commands for starting/canceling a vote.
  • Supports the TTT2 bind system for all its console commands.

Shoutouts
46 Comments
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:59pm 
@Lamentis ッ
Can you open an issue for this on the github and provide screenshots of the values of the settings.
Please also mention any errors in the console there and also mention which collection you are using.

I don't have the time to fix it at the moment, but this way I won't lose track.
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:55pm 
@dofaminovy
I have no idea what libk is.
None of the scripts in the error you are getting are pam scripts.

Can you open an issue for this on the github repository and provide all the requested information there?

This way I won't lose track and will know how to try fixing it when I have the time again.
Reispfannenfresser  [author] 28 Mar, 2023 @ 12:47pm 
@Ker Blam
That is intentional.
Setting a prefix with pacoman is the intended way to adjust these settings.

If you want a less setup heavy mapvoting addon, you might want to check out the legacy version.
Ker Blam 27 Mar, 2023 @ 9:55pm 
this seems to show all maps regardless of gamemode unless you set a prefix with pacoman. Is this intentional? Is there any way to change this?
dofaminovy 10 Mar, 2023 @ 3:29am 
this addon adds errors like

[libk] addons/libk/lua/libk/client/cl_libk_client.lua:3: Tried to resolve an already rejected deferred!
1. error - [C]:-1
2. Resolve - addons/libk/lua/libk/shared/1_sh_promises.lua:179
3. fn - addons/libk/lua/libk/client/cl_libk_client.lua:3
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:109


GetSpriteAxes: Bad sprite type 1886608499 (x485)
Lamentis ッ 9 Feb, 2023 @ 6:19am 
ich habe alle addons aufm server und leider will es nicht laufen kannst du mir helfen?
Reispfannenfresser  [author] 5 Feb, 2023 @ 12:04pm 
Oh, I think I see the issue already. My bad.
The vote screen you are using is disabled by default to avoid interference with other votescreens.
Enabling it with pacoman should do the trick.

I'll update it to be enabled by default.

Thanks a lot for reporting the issue!
Reispfannenfresser  [author] 5 Feb, 2023 @ 12:00pm 
Thank you
kitrod 5 Feb, 2023 @ 11:56am 
Reispfannenfresser  [author] 5 Feb, 2023 @ 11:46am 
That indeed is funky then.
Can you send me a link to your collection, so I can try to figure out what's going on?