stoneharry

Untitled

Nov 24th, 2011
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Da' plugin.
  2.  
  3. Timestamp of when the player voted stored in MySQL table.
  4.  
  5. Timestamp of last vote is updated via website script.
  6.  
  7. When a players last vote was more than 24 hours ago, then every time they try to place a block, don't let that block be placed and tell the user they need to vote (a string defined in a configuration file? :>)
  8.  
  9. If the player is logging in for the first time ever, then they should get 24 hours to play before they have to vote (on first login hook possible? ignore this if it's not really feasible).
  10.  
  11. Times should be in real-life time, not play-time.
  12.  
  13. Thanks. <3
  14.  
Advertisement
Add Comment
Please, Sign In to add comment