Advertisement
ProfesseurCraft

skquery sql test

Jan 31st, 2015
294
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script options:
  2. $ init com.mysql.jdbc.Driver
  3. $ db url jdbc:mysql://localhost:3306/skript_survival
  4. $ db username root
  5. $ db password test
  6.  
  7. command /insert:
  8. trigger:
  9. set {_test} to player's uuid
  10. set {_gender} to "M"
  11. set {_displayName} to player's display name
  12.  
  13. update "INSTERT INTO `players` (`uuid`, `gender`, `rank`) VALUES (""%uuid of player%"", ""%{_gender}%"", ""%{_displayName}%"")"
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement