Author Topic: Simple Notes 0.1 - A simple way to keep track of rule violators.  (Read 14240 times)

0 Members and 1 Guest are viewing this topic.

Offline Fanney

  • Newbie
  • *
  • Posts: 44
  • Karma: 11
Simple Notes 0.1
Easily keep track of rule violators.


Hello, Today I want to present my first addon for the public.
It's a simple addon to keep track of some players that either are violating rules or doing some bad unwanted things.
Admin's have the possibility to add a "note" to a player's account and other admins can see them - it's easy no?

I tried my best for keeping it clean and nice but I am open for suggestions regarding my code or any other things.

Now let's start with some Screenshots:

ULX Integration:


Overview of Player Notes

Installation:
Just extract the .zip and put the folder into your addons folder and done.

This addon adds following Console Commands:
sn_addnote <player> <note> - Add's an note to player's account you can also do it via. the menu.
sn_shownotes <player> - Shows the notes of the given player.
sn_removenote <noteid> - Internal Command, it uses it to remove a warn by sqlid.

To give a specific Group the right's to access this command use following ULX command:
ulx groupallow "groupname" "simplenotes_access"

Planned things:
  • Make so you can individually adjust rights (as example Operator's can see notes but can't delete or add some)

Chanelog:
  • Fixed critical logic error on sn_showerrors.

Download: Attachment (you may need to register to access it)
English is not my native language, so sorry for spelling / grammar issues.
« Last Edit: June 25, 2014, 02:15:58 PM by Fanney »

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #1 on: June 25, 2014, 03:57:48 AM »
Fantastic, I'm sure servers will benefit from this addon.
Good work!  :)
Out of the Garry's Mod business.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #2 on: June 25, 2014, 11:42:04 AM »
Very nice!  ;D
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Fanney

  • Newbie
  • *
  • Posts: 44
  • Karma: 11
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #3 on: June 25, 2014, 01:02:12 PM »
Thanks for the Feedback  8)

Offline Yashirmare

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Sup
    • Steam Community
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #4 on: June 09, 2015, 09:24:25 AM »
Sorry for the necrobump.
Um, nothing will extract from the zip file for some reason.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #5 on: June 09, 2015, 08:46:01 PM »
I use 7-zip, extracts for me perfectly fine.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #6 on: June 09, 2015, 09:02:21 PM »
Using Windows Explorer's Stock zip extractor works for me as well as WinRAR.
Once you get to know me, you'll find you'll have never met me at all.

Offline Yashirmare

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Sup
    • Steam Community
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #7 on: June 10, 2015, 12:45:25 AM »
Interesting Winrar wasn't working for me.
Edit: Nor is Windows explorers zip extractor...
« Last Edit: June 10, 2015, 01:03:17 AM by Yashirmare »

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #8 on: June 10, 2015, 01:03:01 AM »
Interesting Winrar wasn't working for me.

You're right, WinRAR dosen't extract it.
It extracts the folders, but leaves the lua and txt files.

Code: [Select]
!   C:\Users\#####_000\Downloads\simplenotes.zip: Unknown method in simplenotes\addon.txt
!   C:\Users\#####_000\Downloads\simplenotes.zip: Unknown method in simplenotes\lua\autorun\client\cs_sn.lua
!   C:\Users\#####_000\Downloads\simplenotes.zip: Unknown method in simplenotes\lua\autorun\server\ss_sn.lua
!   C:\Users\#####_000\Downloads\simplenotes.zip: Unknown method in simplenotes\lua\ulx\modules\sh\ss_sn_ulx.lua
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline Yashirmare

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Sup
    • Steam Community
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #9 on: June 10, 2015, 01:03:46 AM »
Yeah that's what I'm getting.

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #10 on: June 10, 2015, 01:07:03 AM »
And this happens when I try to use Windows Explorer
Perhaps this is a windows 8 thing, are you using windows 8?

Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline Yashirmare

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Sup
    • Steam Community
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #11 on: June 10, 2015, 01:09:19 AM »
Nah, 7 Ultimate.

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #12 on: June 10, 2015, 01:13:30 AM »
Okay so its not windows 8, do you get the same error when you try it with windows explorer? (open with > windows explorer)
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

Offline Yashirmare

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Sup
    • Steam Community
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #13 on: June 10, 2015, 02:08:08 AM »
Yeah, edited my post above when I tried it (must have edited it just after you replied the first time)

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
Re: Simple Notes 0.1 - A simple way to keep track of rule violators.
« Reply #14 on: June 10, 2015, 02:10:03 AM »
Yeah, edited my post above when I tried it (must have edited it just after you replied the first time)

Ahh, well apparently it worked for syst3M4TiK.
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==