Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shows to logged in only (or if on site only, idk)
- shows only if page has content
- Some if validation, not failiar with syntax
- Div with some class definitions for styling and shit
- Checks if page has content
- pulls in ad I think?
- Pulls in some JS from a CDN
- Does something based on that JS. I think it sets the IP to the mc.snapmc.com or whatever
- New div
- Script imports player count
- Ul displays player count alongside template (Join x other players etc)
- End player count div
- Script that copies IP to clipboad if clicked, displays "IP copied", then shows IP again after 2 seconds. End script
- Some CSS to style the ip box
- checks if user is admin, if so displays some shit to do with ads or something
- syntax to close code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement