new post | browse code | authors | help | about

LuaBin 2.0

Help & FAQ


What is LuaBin?
LuaBin is a code snippet sharing tool specifically designed for the Garry's Mod Lua implementation.
How does it work?
Although the bulk of it is a custom script, the syntax highlighting is powered by Geshi with a custom language file.
How is it special to Garry's Mod Lua?
In addition to the standard Lua syntax highlighting, it also highlights the specific functions unique to Garry's Mod. It differentiates between client, shared, and server functions and color codes them accordingly.
Why can I click on some functions?
During the highlighting process, LuaBin also links the common functions to the Official Garry's Mod Wiki. Most of them link directly to their respective page, while other duplicate entries (i.e. GetPos is on NPC's and Entities) will point to a wiki search.
Why are only numbers and letters allowed in author names?
One of LuaBin's features is the ability to list all snippets pasted by a specific author. To keep this method as easy and efficient as possible, simple names are required when pasting code.
How do I search by author?
You can visit the authors page or by manually typing in the url http://luabin.foszor.com/~name replacing name with your search request.
How can I prevent people from using my name as the author?
You can't. It's not that big of a deal and it's not worth forcing a registration process.
Why has my author name from old snippets changed?
During the process of developing LuaBin 2.0 we had to convert the old data from LuaBin 1.0. The older LuaBin didn't care what you used as your author name, while the new one does. We had to make your author name LuaBin 2.0 friendly.