src/main/java/me/firewolf8385/flameperms/api/GroupAPI.java
/**
     * Create a group.
     * @param group Group to be created.
     */
Create a group.
@param group Group to be created.
Create a group . @param group Group to be created .
public static void createGroup(String group)
    {
        try
        {
            PreparedStatement statement = MySQL.getConnection().prepareStatement("INSERT INTO fp_groups (name) VALUES (?)");
            statement.setString(1, group.toLowerCase());
            statement.executeUpdate();
        }
        catch(SQLException e)
        {
            e.printStackTrace();
        }
    }
public static void createGroup ( String group ) { try { PreparedStatement statement = MySQL . getConnection ( ) . prepareStatement ( "INSERT INTO fp_groups (name) VALUES (?)" ) ; statement . setString ( 1 , group . toLowerCase ( ) ) ; statement . executeUpdate ( ) ; } catch ( SQLException e ) { e . printStackTrace ( ) ; } }
Create a group.
Create a group .