
ShopPrison
Imprison players during the shop phase of the game.Details
v1.0.0
- Initial Release
v1.0.1
- Just updating links
- Nothing new
v1.0.2
- Fixed the loading of images
- Show a message on the screen of a jailed player. (let me know if this is working)
v1.0.3
- Added a return key to self-voters.
- Revamp code design
v1.0.4
- Remove some junk code
- Improve on FPS drops in loading
- Thank you Whiteline7 for this report!
v1.0.5
- Fix the bug where sending the team to an arena would unload the mod
- Fix the bug where the votes don't get cleared after sending the player to jail
v1.0.6
- Add a config option to disable player movement AND turning while in prison
- Fix a bug that would clear all votes constantly
- Improve optimization
- Properly check if Shop is active
- Clear votes when the team moves to the lobby
v1.0.7
- Disable self voting
- Update votes properly if the player skips
v1.0.8
- Fixed the file structure to properly load the UI images
- Thank you FlightMaster3000 for this report!
v1.0.9
- v1.0.8 still broken links. it should be fixed now
- Use internal logger instead of unity
- Added new config option "TeleportToChair"
- Will teleport a jailed player to the chair behind the counter
- Currently, it doesn't work, will be in the next update. Patience, please.
v1.0.10
- Finally fixed broken links. Thanks to Lordfirespeed for guidance
v1.1.0
- Bump Dependency version
- Full refactor code organization
- Added Networking Integration
- Attempted to fix UI in shop bug (need test and feedback)
- Added custom cursors for the UI
- Default
- Hover
- Added the ability to teleport player to closet/bathroom
- DO NOT USE IF ANOTHER MOD USES THIS ROOM! IT WILL BREAK!
- Added the ability to teleport a player to a chair behind the counter
- Using this will also destroy the chair
- Still WIP could use some testing
v1.1.1
- Temporarily use log info/log warning instead of log debug
- Automatically disable opposing teleport location if both are enabled
- Update networking call for votes
- each player votes locally, then the host receives the votes from each of them
- Updated cursor for UI, it will now show my custom cursor as soon as the UI pops up
- Getting teleported to the side room now lets you move freely, but you cannot leave the room
- If the jailed player was teleported to the chair or side room, they will be revived on the truck after they die from round switching
v1.2.1
- Networking is finally working!
- Jail is working!
- Updated config description for bypass host
v1.2.2
- Automate version control with a new script
v1.2.3
- Refactor some code to remove expensive calls
- Handle voting ties as a skipped vote (no one gets jailed if tied)
- Prevent the Jail Message from showing if no one was actually put in jail (precaution)
- Resign vote handler on shop leave
- Process partial votes if one or more players don't vote (5 seconds after the voting ends)
v1.2.4
- Re-enable check for self-voting. You can no longer vote yourself to jail.
v1.2.5
- Added a Developer Mode config option.
- This is useful if you're wanting to test the mod on your own.
- It still has full functionality from your config.
- You can get stuck and require a restart of the game.
- If the lobby contains only the host player, the voting never even shows up, even in developer mode.
- Networker won't spawn if the lobby has less than two players
v1.2.6
- Bug fix: UI should not show up in the shop anymore
- Bug fix: Votes should only be processed once all votes are received or the vote timer runs out
v1.2.7
- Update mod icon
- Add a startup warning log
- Add a log when all votes are already processed
- The Voting UI should now be destroyed when you load into the shop
- Fixed the bug that doesn't jail players after getting voted
- The processor was using the wrong timer for partial votes